Hi list I'm running a Samba PDC on Ubuntu Lucid (3.4.7) and am unable to join Windows 7 machines to the domain. I have applied the registry changes described at http://wiki.samba.org/index.php/Windows7 Windows XP machines can join with no problems. Samba log: stty: standard input: Inappropriate ioctl for device Use of uninitialized value $pass in chomp at /usr/sbin/smbldap-useradd line 324. stty: standard input: Inappropriate ioctl for device stty: standard input: Inappropriate ioctl for device Use of uninitialized value $pass2 in chomp at /usr/sbin/smbldap-useradd line 330. stty: standard input: Inappropriate ioctl for device Use of uninitialized value $pass in string ne at /usr/sbin/smbldap-useradd line 334. Use of uninitialized value $pass2 in string ne at /usr/sbin/smbldap-useradd line 334. Windows 7 reports: A device attached to the system is not functioning. Any ideas? Thanks, Torkil
Are you sure this is a Windows 7 fault? By the looks of the Samba log smbldap-tools is causing the grief. Have you confirmed smbldap-useradd is working from the terminal? You could also try adding the machine account to your LDAP server prior to joining it to the domain from the desktop. David On Tue, Mar 23, 2010 at 9:32 PM, Torkil Svensgaard <torkil at drcmr.dk> wrote:> Hi list > > I'm running a Samba PDC on Ubuntu Lucid (3.4.7) and am unable to join > Windows 7 machines to the domain. I have applied the registry changes > described at http://wiki.samba.org/index.php/Windows7 > > Windows XP machines can join with no problems. > > Samba log: > > stty: standard input: Inappropriate ioctl for device > Use of uninitialized value $pass in chomp at /usr/sbin/smbldap-useradd line > 324. > stty: standard input: Inappropriate ioctl for device > stty: standard input: Inappropriate ioctl for device > Use of uninitialized value $pass2 in chomp at /usr/sbin/smbldap-useradd > line 330. > stty: standard input: Inappropriate ioctl for device > Use of uninitialized value $pass in string ne at /usr/sbin/smbldap-useradd > line 334. > Use of uninitialized value $pass2 in string ne at /usr/sbin/smbldap-useradd > line 334. > > Windows 7 reports: A device attached to the system is not functioning. > > Any ideas? > > Thanks, > > Torkil > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >
On 03/29/2010 4:52 PM, David Harrison wrote:> On Tue, Mar 30, 2010 at 9:09 AM, Dale Schroeder > <dale at briannassaladdressing.com > <mailto:dale at briannassaladdressing.com>> wrote: > > On 03/29/2010 6:38 AM, Torkil Svensgaard wrote: > > On 2010-03-24 02:10, David Harrison wrote: > > Here is my smbldap-tools configuration in smb.conf: > > add machine script = /usr/sbin/smbldap-useradd -w "%u" > > Is your add machine script directive similar/the same? > > > Hi David > > Mine looked like this: > > add machine script = /usr/sbin/smbldap-useradd -i -w "%m" > > I removed the -i and I can join the domain, thanks. > > That doesn't solve the actual problem I guess, but since I > don't think I need interdomain trust accounts anyway, close > enough. > > For the last system that I had to add, the solution was the exact > opposite. The system would not join the domain until I added the "-i". > I have no explanation. > > Dale> Sounds like you've got something a little strange going on with that > last desktop if you need an inter-domain trust account and you are not > sure why... > > David >I agree, as previously, things had worked fine without the "-i" option. In the interim I had upgraded to Debian 3.4.3. The error message given in the logs led me to this thread: http://www.mail-archive.com/samba at lists.samba.org/msg75705.html I tried it and was rewarded with an instant domain join. The system was XP SP3 however, not Win 7. The OP is at 3.4.7; perhaps circumstances have changed again. Dale
Possibly Parallel Threads
- process_lanman_packet: Discarding datagram from IP 192.168.100.29. Source name STORAGE7<00> is one of our names !
- process_lanman_packet: Discarding datagram from IP 192.168.100.29. Source name STORAGE7<00> is one of our names !
- Error when changing domain password in Windows XP
- probleb with 'passwd chat' and 'passwd program'
- smbldap-tools and joining workstation to domain