Probably missing something, but ... I installed Samba 2.2aplha1 (Solaris 7, gcc 2.95.2) and everything seems to work. However I tried to joing the domain and was asked for a "machine" log-in. Do I need to enter the Netbios name into the smbpasswd file ? or UNIX pass file ? Apart from that I could browse, see shares, printers etc. Steve -- home steve@gbnet.org * Flat 2, 43 Howitt Road, Belsize Pk, London NW3 4LU work steve@thus.net * tel +44-(0)207 483 1169 FAX +44-(0)207 483 2455 www http://www.gbnet.net/ * Personal DFAX +44 (0)870 1600 842 (fax to email) bits steve@gbnet.net * mob +44-(0)7775755503 Epage steve-pager@gbnet.net
Hi Steve, Are you using 2.2 as a PDC? or are you using it in security=domain mode? If you are using it as a PDC of its own domain, then you have to add unix accounts of the form (netbiosmachinename$:*:uid:gid:comment::) for each NT machine that will be part of the domain, as well as doing a smbpasswd -a -m netbiosmachinename (without the $, it gets appended automatically) to get your machine account into the smbpasswd file. If you are using 2.2 as a member server in security=domain mode, you will need to add a machine account via server manager to the nt domain that you will be joining and run smbpasswd -j domainname -r pdcname There is a good discussion of all of this in chapter 6 of the "Using Samba" book by O'Reilly, which you can see online at the following url: http://us2.samba.org/samba/oreilly/using_samba/ Hope this helps, Don -----Original Message----- From: Steve Kennedy [mailto:steve@gbnet.org] Sent: Tuesday, January 30, 2001 5:06 AM To: samba@samba.org Subject: More woes Probably missing something, but ... I installed Samba 2.2aplha1 (Solaris 7, gcc 2.95.2) and everything seems to work. However I tried to joing the domain and was asked for a "machine" log-in. Do I need to enter the Netbios name into the smbpasswd file ? or UNIX pass file ? Apart from that I could browse, see shares, printers etc. Steve -- home steve@gbnet.org * Flat 2, 43 Howitt Road, Belsize Pk, London NW3 4LU work steve@thus.net * tel +44-(0)207 483 1169 FAX +44-(0)207 483 2455 www http://www.gbnet.net/ * Personal DFAX +44 (0)870 1600 842 (fax to email) bits steve@gbnet.net * mob +44-(0)7775755503 Epage steve-pager@gbnet.net
-----Original Message----- From: Steve Kennedy [mailto:steve@gbnet.org] Sent: Tuesday, January 30, 2001 9:58 AM To: MCCALL,DON (HP-USA,ex1) Cc: samba@samba.org Subject: Re: More woes On Tue, Jan 30, 2001 at 06:58:23AM -0700, MCCALL,DON (HP-USA,ex1) wrote:> Are you using 2.2 as a PDC? or are you using it in security=domain mode? > If you are using it as a PDC of its own domain, then you have to add unix > accounts of the form (netbiosmachinename$:*:uid:gid:comment::) > for each NT machine that will be part of the domain, as well as doing a > smbpasswd -a -m netbiosmachinename (without the $, it gets appended > automatically) to get your machine account into the smbpasswd file.It's a PDC by itself. Do I have to add it to my /etc/passwd or just smbpasswd (i.e. the file, then run smbpasswd). ^^^^^^^^^^^^^^ You have to add it both to your /etc/passwd file and via smbpasswd command - if you DON't add it to your /etc/passwd file, the smbpasswd command will fail. Don Steve -- home steve@gbnet.org * Flat 2, 43 Howitt Road, Belsize Pk, London NW3 4LU work steve@thus.net * tel +44-(0)207 483 1169 FAX +44-(0)207 483 2455 www http://www.gbnet.net/ * Personal DFAX +44 (0)870 1600 842 (fax to email) bits steve@gbnet.net * mob +44-(0)7775755503 Epage steve-pager@gbnet.net