[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to add windows workstation in Wheezy?



[Petter Reinholdtsen]
> Checked the original and the library, and thus function is now called
> user_next_uid(); Try editing machineadd-gosa and replace
> 'get_next_id($config{usersdn}, "uidNumber" );' with
> 'user_next_uid();'.

I figured out a way to test this from the command line without a
Windows machine available, and can confirm that this seem to work.

  root@tjener:/# vi /etc/samba/smbldap-machineadd-gosa 
  root@tjener:/# /etc/samba/smbldap-machineadd-gosa -t0 -w "foobar"
  Use of qw(...) as parentheses is deprecated at /usr/share/perl5/smbldap_tools.pm line 1423, <DATA> line 558.
  Use of uninitialized value $encoding in string eq at /usr/share/perl5/smbldap_tools.pm line 1387.
  Use of uninitialized value $encoding in string eq at /usr/share/perl5/smbldap_tools.pm line 1387.
  root@tjener:/# /etc/samba/smbldap-machineadd-gosa -t0 -w "foobar"
  Use of qw(...) as parentheses is deprecated at /usr/share/perl5/smbldap_tools.pm line 1423, <DATA> line 558.
  /etc/samba/smbldap-machineadd-gosa: user foobar$ exists
  root@tjener:/# 

Btw, Arne.  It might help to speed up the turn around time if you join
us on IRC, #debian-edu on irc.debian.org, to discuss this problem. :)

-- 
Happy hacking
Petter Reinholdtsen


Reply to: