Hi Guys,
I have similar problem. I am following the instructions in
http://www.samba.org/samba/docs/man/...#magicnetlogon to add domain
users to the winxp clients Power Users group.
Code: autopoweruser.sh
#!/bin/bash
/usr/bin/net rpc group addmem Power Users DOMAIN_NAME\$1 \
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have samba configured so that users have their own netlogon.bat file
(e.g. %U.bat) and each user has a .bat with their username in the
netlogon share.
So far I have been unable to get any of the shares that I have defined
in the batch file to be
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
David Christensen wrote:
I have samba configured so that users have their own netlogon.bat file
(e.g. %U.bat) and each user has a .bat with their username in the
netlogon share.
So far I have been unable to get any of the shares that I have
David,
Your netlogon share is more complicated than most.
Consider initially commenting out all the mask and mode parameters and
the valid users parameter.
If it then works, add them back one at a time until it breaks.
Depending on what the global preexec script does, you may want to
Dale Schroeder wrote:
David,
Your netlogon share is more complicated than most.
Consider initially commenting out all the mask and mode parameters and the
valid users parameter.
If it then works, add them back one at a time until it breaks.
Depending on what the global preexec script
Hallo, David,
Du meintest am 20.08.09:
The preexec script actually creates a netlogon.bat file for each user
when they log in and sets the file ownership to that of the user
logging in.
Can DOS/Windows run this batch file? If it's created under Linux maybe
it has Linux LF and not DOS CRLF.
Hallo, Dale,
Du meintest am 20.08.09:
Check that the execute bit is set on the .bat files. I used 755
permissions with root:root ownership.
That's not necessary. It has to be run (read) under DOS/Windows from a
Windows client, not run under Linux. Therefore 644 is enough (maybe 640
does
David Christensen wrote:
Dale Schroeder wrote:
David,
Your netlogon share is more complicated than most.
Consider initially commenting out all the mask and mode parameters and the
valid users parameter.
If it then works, add them back one at a time until it breaks.
Depending on what the
Depending on the version of Samba, it could be that passdb expand
explicit = yes is required. I ran across this in a similar situation
due to a change in default behaviour.
Alex
--
This message is intended only for the addressee and may contain
confidential information. Unless you are that
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dale Schroeder wrote:
David Christensen wrote:
Dale Schroeder wrote:
David,
Your netlogon share is more complicated than most.
Consider initially commenting out all the mask and mode parameters and the
valid users parameter.
If it then
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Alex Crow wrote:
Depending on the version of Samba, it could be that passdb expand
explicit = yes is required. I ran across this in a similar situation
due to a change in default behaviour.
Alex
Alex,
Thanks for the info, I will investigate
11 matches
Mail list logo