Dear All, I have successfully compiled MIT krb5 and samba 3.0.28a under Solaris8. Joining an AD domain works fine and also the commands wbinfo -t, -g and -u list all of the users. getent passwd and getent group are also working. The problem now is that when i run the "group user" command it just stays there and doesn't display any users. This works fine under Linux (SLES9, RHEL4) but not under Solaris8. I really have no clue, but that is just one problem. The other big problem is that now i get kicked out of the login shell or telnet/ssh after a few minutes and when I login as a domain user and start a command like ls it gets put in the background immediatley. Any suggestions? Regards, Oliver Oliver Weinmann Unix/Linux Administrator VEGA IT GmbH Europaplatz 5 D-64293 Darmstadt Germany Tel : +49 (0) 6151 8257 744 Fax : +49 (0)6151 8257-799 Email : oliver.weinmann@vega.de Web : www.vega-group.com Register court/Registergericht: Darmstadt, HRB No. 4096, Managing Directors/Gesch?ftsf?hrer: Philip Cartmell, Susan Bygrave, John Lewis Notice of Confidentiality This transmission is intended for the named addressee only. It contains information which may be confidential and which may also be privileged. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately.
mrosamba@eastgranby.k12.ct.us
2008-Apr-07 15:00 UTC
[Samba] Domain Member Server /home/user creation - help needed
For almost 10 years our school has been using samba as a PDC to provide a network drive for each of our students,. Now I need to install a domain member server (DMS) to share the load. I am running samba 3.0.28 on Fedora 7 using the tdbsam backend on the PDC. I have successfully brought up a samba DMS using winbind and the idmap_rid backend. I want to have all new students use the DMS for their roaming profiles and for their network drive. Upon first logon of a new user, a directory is automatically created for the user in the profile share on the DMS. However, I don?t know how to cause the home directory to be created on the DMS for the network drive. On XP Pro, the user home share shows up on the DMS, but is not accessible because the directory does not exist. If at this point, I copy the roaming profile directory for the user (which is empty) to the home directory, then the home directory is now present with the proper ownership and the home drive is now usable by the user. e.g. on the DMS, with userid ?mark? cp ?a /var/samba/profiles/mark /home The [homes] share on the DMS is [homes] Path = /home/%U comment = Home Directories browseable = no writable = yes available = yes public = no So my question is how can I get the home directory for a user created with the proper ownership the first time the user signs in? Is there any kind of script that can be invoked on the DMS? Is there any way winbind can create the home directory when it creates the UID/GID for the user? Mark Orenstein East Granby, CT School System
Udo Rader
2008-Apr-07 15:13 UTC
[Samba] Domain Member Server /home/user creation - help needed
On Mon, 2008-04-07 at 11:00 -0400, mrosamba@eastgranby.k12.ct.us wrote:> For almost 10 years our school has been using samba as a PDC to provide a > network drive for each of our students,. Now I need to install a domain > member server (DMS) to share the load. I am running samba 3.0.28 on > Fedora 7 using the tdbsam backend on the PDC. I have successfully brought > up a samba DMS using winbind and the idmap_rid backend. > > I want to have all new students use the DMS for their roaming profiles and > for their network drive. Upon first logon of a new user, a directory is > automatically created for the user in the profile share on the DMS. > However, I don?t know how to cause the home directory to be created on the > DMS for the network drive. On XP Pro, the user home share shows up on the > DMS, but is not accessible because the directory does not exist. > > If at this point, I copy the roaming profile directory for the user (which > is empty) to the home directory, then the home directory is now present > with the proper ownership and the home drive is now usable by the user. > > e.g. on the DMS, with userid ?mark? > > cp ?a /var/samba/profiles/mark /home > > The [homes] share on the DMS is > > [homes] > Path = /home/%U > comment = Home Directories > browseable = no > writable = yes > available = yes > public = no > > So my question is how can I get the home directory for a user created with > the proper ownership the first time the user signs in? Is there any kind > of script that can be invoked on the DMS? Is there any way winbind can > create the home directory when it creates the UID/GID for the user?use pam_mkhomedir for that purpose: ftp://ftp.eu.kernel.org/pub/linux/libs/pam/Linux-PAM-html/sag-pam_mkhomedir.html -- ?Udo Rader bestsolution.at EDV Systemhaus GmbH http://www.bestsolution.at -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.samba.org/archive/samba/attachments/20080407/ac8bc1f3/attachment.bin