Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOWTO] :: Implement Samba as your PDC
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
JROCK2004
Guru
Guru


Joined: 02 Mar 2004
Posts: 450
Location: PA

PostPosted: Fri Nov 03, 2006 4:28 pm    Post subject: Reply with quote

ok so as root just cp the contents inside the default folder from windows into /var/lib/samba/netlogon/ ???? do I haveto chmod the folder?
Back to top
View user's profile Send private message
Ejunkie
n00b
n00b


Joined: 07 Jan 2005
Posts: 58
Location: 127.0.0.1

PostPosted: Fri Nov 03, 2006 10:10 pm    Post subject: Reply with quote

it has to be world readable and executable but not world writeble
Back to top
View user's profile Send private message
JROCK2004
Guru
Guru


Joined: 02 Mar 2004
Posts: 450
Location: PA

PostPosted: Fri Nov 03, 2006 10:55 pm    Post subject: Reply with quote

ok right now it is drwxr-xr-x
Back to top
View user's profile Send private message
Ejunkie
n00b
n00b


Joined: 07 Jan 2005
Posts: 58
Location: 127.0.0.1

PostPosted: Fri Nov 03, 2006 11:17 pm    Post subject: Reply with quote

JROCK2004 wrote:
ok right now it is drwxr-xr-x


oke and from the samba point of view the share shoud be an public share.
Back to top
View user's profile Send private message
JROCK2004
Guru
Guru


Joined: 02 Mar 2004
Posts: 450
Location: PA

PostPosted: Fri Nov 03, 2006 11:44 pm    Post subject: Reply with quote

but still will not create or load profile
Back to top
View user's profile Send private message
JROCK2004
Guru
Guru


Joined: 02 Mar 2004
Posts: 450
Location: PA

PostPosted: Sat Nov 04, 2006 2:16 am    Post subject: Reply with quote

ok now it stopped complaining about it but now it will not write profile because of security. Any other ides? Do you guys need me to post anything?
Back to top
View user's profile Send private message
Ejunkie
n00b
n00b


Joined: 07 Jan 2005
Posts: 58
Location: 127.0.0.1

PostPosted: Sat Nov 04, 2006 1:45 pm    Post subject: Reply with quote

JROCK2004 wrote:
ok now it stopped complaining about it but now it will not write profile because of security. Any other ides? Do you guys need me to post anything?


could you post your config file ?
Back to top
View user's profile Send private message
JROCK2004
Guru
Guru


Joined: 02 Mar 2004
Posts: 450
Location: PA

PostPosted: Sat Nov 04, 2006 2:03 pm    Post subject: Reply with quote

ok I rebooted server and pc and now working better. it is saving the prfoles. it still complains that the pc does not have a local profile. I think I can fix that.

Now is this the right area to discuss how to get windows to use the printer? Windows can see it but it is complaining about drivers. PSC 1610v. It wants drivers. Thanks
Back to top
View user's profile Send private message
dahoste
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2005
Posts: 138
Location: Maryland, USA

PostPosted: Wed Feb 21, 2007 7:56 pm    Post subject: Reply with quote

Hello, I was going to post this as its own thread, but since it's samba/PDC related (and I originally heavily leveraged the HOWTO), I figured I'd start here.

I'm hoping someone has some insight into the following problem that I've recently encountered:

Basically, winxp seems to be creating roaming profiles that are incompatible with itself. I've got two sets of winxp clients, which I'll call 'new' and 'old'. Profiles created (and perfectly usable) by the old clients don't work on the new clients, and profiles created (and usable) by the new clients won't work on the old clients. The catch is that as far as I can tell, I've configured the old clients and the new clients in exactly the same way. It may be that I've neglected to do something on the new clients that I did on the old. I didn't religiously document the process of configuring them, but I only remember doing the registry tweak and the gpedit.msc tweak.

More detail:

I've had a samba/ldap PDC running successfully for quite some time now (6+ months). Users can login to the domain, profiles are loaded and saved correctly to the PDC server, home drives are mapped correctly, the logon.bat is executed. Everything working great. But I just setup two new winxp machines (sp2, fully updated, etc..) and while I can login as any of the domain users, neither machine successfully loads the user's roaming profile. But it doesn't complain about anything either! The weird thing is that some desktop configuration stuff just plain doesn't work. For instance, any attempt to enable the quicklaunch menu on the taskbar is ignored (quicklaunch is enabled in the roaming profile). Ditto for enabling 'auto-hide' for the task bar. Also, I can change theme attributes for the desktop (background color, etc..) and they'll act like they've changed, but won't persist across a login/logout -- and yet there are no complaints about the profile when I log out, implying that winxp was able to save them to the PDC server just fine.

I've applied the 'signorseal' registry hack to all winxp clients. I've also used gpedit.msc to enable 'Do not check for user ownership of Roaming Profile Folders'. So as far as I know, I've established the same config on all of my winxp clients. But the new ones are misbehaving. Or, rather, it's more accurate to say that the new ones and the old ones aren't playing nice together, when it comes to creating/saving/loading the roaming profiles.

I created a brand new user (on the linux side via smbldap-useradd), and logged in as that user on the new winxp clients. A new roaming profile is created and works perfectly. That same (new) user does not have its profile loaded correctly on an existing (old) winxp client. No complaints from winxp, mind you, it just doesn't provide a fully functional desktop after login. It took a really long time to login the first time with the new user on an old client, but the login happens very quickly on subsequent tries. Logoff is quick, with no error messages about anything. This is precisely the same behavior I see when logging in as an 'old' user on a 'new' client.

Needless to say, I'm using the same samba PDC for the whole thing. It's samba v3.0.24.

Here's the profiles section from my smb.conf:

Code:
[profiles]
path = /var/lib/samba/profiles
browseable = no
writeable = yes
create mask = 0600
directory mask = 0700
profile acls = yes
csc policy = disable
hide files = /desktop.ini/ntuser.ini/NTUSER.*/


Any help with this would be greatly appreciated!

thanks!
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1181
Location: Motown

PostPosted: Wed Feb 21, 2007 8:53 pm    Post subject: Reply with quote

dahoste wrote:
I've applied the 'signorseal' registry hack to all winxp clients.

You didn't mention your Samba version but for any modern version of Samba the signorseal reghack is not needed. I don't know if it will hurt but it certainly isn't necessary. Make sure you're running the latest Samba release then try removing and re-joining the systems to the domain. Try boosting Samba's log level to get more info.

Chris
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
dahoste
Tux's lil' helper
Tux's lil' helper


Joined: 01 Dec 2005
Posts: 138
Location: Maryland, USA

PostPosted: Sat Feb 24, 2007 10:25 pm    Post subject: Reply with quote

I'm using samba v3.0.24 (I mentioned that towards the bottom of the first post).

I did revert the 'signorseal' registry value, though it seems to have had no effect at all.

I started a thread for this issue on the official samba mailing list:

http://lists.samba.org/archive/samba/2007-February/129773.html

So far, nothing satisfactory to report, but I've included a lot more detail on what I've tried and what behavior I'm seeing.

Still hoping someone can suggest a nice fix for this.

cheers,

-David
Back to top
View user's profile Send private message
Sedrik
l33t
l33t


Joined: 08 Apr 2005
Posts: 655
Location: Uppsala, Sweden

PostPosted: Tue Jul 31, 2007 10:57 am    Post subject: Reply with quote

Hi all

I'm having trouble adding a machine to my domain. It complains that it can't find the user I tell it to add the machine with :( (yes, i'm using root)

Any pointers, will post smb.conf if needed.
_________________
From Gentoo with love
Back to top
View user's profile Send private message
Sedrik
l33t
l33t


Joined: 08 Apr 2005
Posts: 655
Location: Uppsala, Sweden

PostPosted: Tue Jul 31, 2007 12:03 pm    Post subject: Reply with quote

Disregard my last post, I solved that problem. Now another one has arrised.

I want new files that are created from a client to be created with full group permissions and the group to be either users or styrelsen.

I add users as normal with useradd (useradd -m -G <users,styrelsen and anything else that is wanted> -s /bin/bash username).

Now when I tried to add the test user, user I did
useradd -m -G users -s/bin/bash user and he got the groups users and user.
Creating new files gives me this result :(
Code:
ls -l /UTN/gemensamttest/
total 0
-rwxr--r-- 1 user  user      0 Jul 31 13:58 Ny(tt) Textdokument (2).txt
-rwxr--r-- 1 user  user      0 Jul 31 13:54 Ny(tt) Textdokument.txt
-rwxr--r-- 1 admin styrelsen 0 Jul 31 13:51 users.txt


So two questions, how do I create a user such that either users or styrelsen becomes the main group (sorry bad terminology) that is the group wich is listed by ls.

and secondly how do I change the default permissions of the files that are created? I would like them to be 0770 or something.

Thanks :)
_________________
From Gentoo with love
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum