[Samba] Could not find base dn, to get next uidNumber at...

2006-07-06 Thread Mario Ohnewald
Hello List,

this time with the correct subject ;)

I am using Ubuntu Dapper with:

ldap-account-manager 0.5.1-1
samba3.0.22-1ubuntu3
samba-common 3.0.22-1ubuntu3
debian-edu-config0.399
slapd2.2.26-5ubuntu2.1
smbldap-tools0.9.2-3


When i try to join a domain i get this error:

Could not find base dn, to get next uidNumber
at /usr/share/perl5/smbldap_tools.pm line 1046.
[2006/07/06 16:54:44, 0]
rpc_server/srv_samr_nt.c:_samr_create_user(2415)
  _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
na$' gave 127


I am using /etc/ldap/schema/samba.schema from debian-edu-config.

Where does it look for the base dn which it cant find?

Cheers, Mario


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Error looking for next uid at /usr/share/perl5/smbldap_tools.pm

2006-07-06 Thread Mario Ohnewald
Hello List,

i am using Ubuntu Dapper with:

ldap-account-manager 0.5.1-1
samba3.0.22-1ubuntu3
samba-common 3.0.22-1ubuntu3
debian-edu-config0.399
slapd2.2.26-5ubuntu2.1
smbldap-tools0.9.2-3


When i try to join a domain i get this error:

Could not find base dn, to get next uidNumber
at /usr/share/perl5/smbldap_tools.pm line 1046.
[2006/07/06 16:54:44, 0]
rpc_server/srv_samr_nt.c:_samr_create_user(2415)
  _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
na$' gave 127


I am using /etc/ldap/schema/samba.schema from debian-edu-config.

Where does it look for the base dn which it cant find?

Cheers, Mario



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Error looking for next uid at /usr/share/perl5/smbldap_tools.pm

2006-07-06 Thread Mario Ohnewald
anyone?

On Thu, 2006-07-06 at 17:05 +0200, Mario Ohnewald wrote:
 Hello List,
 
 i am using Ubuntu Dapper with:
 
 ldap-account-manager 0.5.1-1
 samba3.0.22-1ubuntu3
 samba-common 3.0.22-1ubuntu3
 debian-edu-config0.399
 slapd2.2.26-5ubuntu2.1
 smbldap-tools0.9.2-3
 
 
 When i try to join a domain i get this error:
 
 Could not find base dn, to get next uidNumber
 at /usr/share/perl5/smbldap_tools.pm line 1046.
 [2006/07/06 16:54:44, 0]
 rpc_server/srv_samr_nt.c:_samr_create_user(2415)
   _samr_create_user: Running the command `/usr/sbin/smbldap-useradd -w
 na$' gave 127
 
 
 I am using /etc/ldap/schema/samba.schema from debian-edu-config.
 
 Where does it look for the base dn which it cant find?
 
 Cheers, Mario
 
 
 

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] sambafax

2005-04-22 Thread Mario Ohnewald
Hello List!

I am running hylafax 4.1.8, samba 2.2.3a, and cups 1.1.14 on debian woody.
For some reason i always have to restart cups in order to make the print
job come through.

My debug log shows me that it gets started with no arguments:
p0: /usr/lib/cups/backend/sambafax  --this is the sambafaxscript and
location
p1:
p2:   --under cups this should be the username
p3:
p4:
p5:
p6:   --under cups this is optional the sambafax temporary printfilename
p7:
p8:
.
.
.


Here is my Samba config:
-
[global]
workgroup = Arbeitsgruppe
server string = Linux
load printers = yes
invalid users = root
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 1
encrypt passwords = true
socket options = TCP_NODELAY
local master = yes
os level = 64
preferred master = auto
dns proxy = no
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .obey pam restrictions = yes

printcap name = lpstat
printing = cups
use client driver = Yes
print command = lp -d%p -oraw %s; rm %s
lpq command = lpstat -o%p
lprm command = cancel %p-%j
queuepause command = disable %p
queueresume command = enable %p

[printers]
path = /tmp
printable = Yes
browseable = No
show add printer wizard = yes



Have you got any ideas why the debug script aguments are empty? has that got
anything to do that i have to restart cups in order to make the print job
come through?

Thanks, Mario

-- 
+++ NEU: GMX DSL_Flatrate! Schon ab 14,99 EUR/Monat! +++

GMX Garantie: Surfen ohne Tempo-Limit! http://www.gmx.net/de/go/dsl
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Execute shell command when accessing a share

2005-04-08 Thread Mario Ohnewald
Hello List!

Is it possible to execute a shell command as soon as a client connects to a
share/file?

Background: I want to install a Windows Database Application (on a samba
share) which does not lock its Database files, and i want to avoid that a
2nd client with the same Database Application will overwrite any changes.

Or has anyone else a workaround idea for my problem?


Cheers, Mario

-- 
Handyrechnung zu hoch? Tipp: SMS und MMS mit GMX
Seien Sie so frei: Alle Infos unter http://www.gmx.net/de/go/freesms
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] admin privileges on a single domain machine

2005-01-19 Thread Mario Ohnewald
Hello List!

I have a ldap based samba pdc with a few windows xp prof clients and a few
user accounts.

All the users have Domain User permissions.

Is it possible to give a Domain User admin privileges on a single box?

Lets say i have Machine A, B, C and D. Then user Foo should have normal
Domain User Priviles when he logs into A, B and C. BUT when he logs into
Machine D, he should have admin privileges.

Is that somehow possible?


Thanks, Mario


-- 
10 GB Mailbox, 100 FreeSMS http://www.gmx.net/de/go/topmail
+++ GMX - die erste Adresse für Mail, Message, More +++
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] admin privileges on a single domain machine

2005-01-19 Thread Mario Ohnewald
 You must add the user's account to the local administrators group. This
 cant be done in LDAP as i believe.
 Right click on My Computer, then manageusers and groupgroupsright
 click on administratoraddetc...

Is this on a XP Prof? Cause i could not find that right click menu in win2k.

Cheers, Mario

-- 
GMX im TV ... Die Gedanken sind frei ... Schon gesehen?
Jetzt Spot online ansehen: http://www.gmx.net/de/go/tv-spot
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] samba, nss and openldap

2004-11-29 Thread Mario Ohnewald
Hello list!
I would like to setup up a PDC based on openldap.
I am running Debian Testing with Samba 3.0.7-Debian and OpenLDAP 2.1.30-3.
But i got stuck with one problem: I cant join a Domain if i haven`t 
added a unix machine$.

If i use:
 add machine script = /usr/sbin/useradd -d /dev/null -g 100 -s 
/bin/false -M %u  /usr/sbin/smbldap-useradd -w %u
then i can join a domain without problems!


slapd.conf:
suffix dc=IDEALX,dc=ORG
rootdn cn=Manager,dc=IDEALX,dc=ORG
samba.conf:
; SAMBA-LDAP declarations
passdb backend = ldapsam:ldap://127.0.0.1
#ldap filter = ((objectclass=sambaSamAccount)(uid=%u))
ldap admin dn = cn=Manager,dc=IDEALX,dc=ORG
ldap suffix = dc=IDEALX,dc=ORG
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
Error in log:
Nov 30 00:04:45 localhost smbd[955]: [2004/11/30 00:04:45, 0] 
auth/auth_sam.c:check_sam_security(306)
Nov 30 00:04:45 localhost smbd[955]:   check_sam_security: 
make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER'
Nov 30 00:04:45 localhost slapd[709]: bind: invalid dn 
(cn=Manager,dc=IDEALX,dc=ORG)
Nov 30 00:04:46 localhost slapd[709]: bind: invalid dn 
(cn=Manager,dc=IDEALX,dc=ORG)
Nov 30 00:04:46 localhost smbd[956]: [2004/11/30 00:04:46, 0] 
auth/auth_sam.c:check_sam_security(306)
Nov 30 00:04:46 localhost smbd[956]:   check_sam_security: 
make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER'
Nov 30 00:04:46 localhost slapd[715]: bind: invalid dn 
(cn=Manager,dc=IDEALX,dc=ORG)

# /etc/nsswitch.conf
passwd: compat ldap
group:  compat ldap
shadow: compat ldap
hosts:  files dns ldap
networks:   files ldap
protocols:  db files
services:   db files
ethers: db files
rpc:db files
netgroup:   nis

#/etc/libnss-ldap.conf
host 127.0.0.1
base dc=IDEALX,dc=ORG
ldap_version 3
bindpw mysecretpwd
rootbinddn cn=Manager,dc=IDEALX,dc=ORG
pam_password crypt

Does anybody know why my samba box does not find or add the machine$ to 
the openldap data base?


Please let me know if you need more infos/configs or logs.
Thanks a lot, Mario
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Error: Invalid credentials

2004-10-22 Thread Mario Ohnewald
Hello Samba List!

I am runnign samba 3.0.7 on my Debian stable box with OpenLdap 2.2.17.
I would like to set up samba as an PDC, based on Ldap.
I can already su to my users and log in the unix way. But i cant get the
samba auth working.

Here is an error:

fileserver:~# pdbedit -vvL testuser1
failed to bind to server with dn= cn=Manager,dc=IDEALX,dc=ORG Error: Invalid
credentials

Connection to LDAP server failed for the 1 try!
Connection to LDAP server failed for the 2 try!


The dn= cn=Manager,dc=IDEALX,dc=ORG part is correct, and ldap logs a few
packets as well, so it _looks_ like they are talking to each other.

Where do i go from here? Do you want to see a debug out of samba or ldap? If
yes which level do you need?
What could be the reason that it cant bind to my ldap server?
Phpldapadmin, ldapsearch and ldapadd all work fine.


Thanks, Mario.

-- 
+++ GMX DSL Premiumtarife 3 Monate gratis* + WLAN-Router 0,- EUR* +++
Clevere DSL-Nutzer wechseln jetzt zu GMX: http://www.gmx.net/de/go/dsl

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] samba 3.0.7 and OpenLDAP

2004-10-13 Thread Mario Ohnewald
Hello List,

yet another OpenLDAP/Samba problem...
OpenLDAP: slapd 2.2.17
Samba: Version 3.0.7
Debian stable with 2.4.27


I am trying to do this howto (smb auth via ldap):
http://www.idealx.org/prj/samba/smbldap-howto.en.html



Even IF the user does not exits in my ldap table, why does smbd just
exit? Do i start it the wrong way?



This is the output of smbd -F -i -d 9 -S -s /etc/samba/smb.conf 
-
Trying to load: ldapsam:ldap://127.0.0.1/
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend ldapsam_compat
Successfully added passdb backend 'ldapsam_compat'
Attempting to register passdb backend smbpasswd
Successfully added passdb backend 'smbpasswd'
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to register passdb backend guest
Successfully added passdb backend 'guest'
Attempting to find an passdb backend to match ldapsam:ldap://127.0.0.1/
(ldapsam)
Found pdb backend ldapsam
Searching for:[((objectClass=sambaDomain)(sambaDomainName=PDC-SRV))]
smbldap_search: base = [dc=my-domain,dc=com], filter = [(
(objectClass=sambaDomain)(sambaDomainName=PDC-SRV))], scope = [2]
smbldap_open_connection: connection opened
ldap_connect_system: succesful connection to the LDAP server
The LDAP server is succesfully connected
pdb backend ldapsam:ldap://127.0.0.1/ has a valid init
Attempting to find an passdb backend to match guest (guest)
Found pdb backend guest
pdb backend guest has a valid init
lp_file_list_changed()
file /etc/samba/smb.conf - /etc/samba/smb.conf  last mod_time: Wed Oct
13 20:38:32 2004

open_oplock_ipc: opening loopback UDP socket.
Linux kernel oplocks enabled
open_oplock ipc: pid = 5911, global_oplock_port = 1071
Serverzone is -7200
got message type 0x0 of len 0x85
Transaction 0 of length 137
size=133
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51283
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=98
switch message SMBnegprot (pid 5911) conn 0x0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [LANMAN1.0]
Requested protocol [Windows for Workgroups 3.1a]
Requested protocol [LM1.2X002]
Requested protocol [LANMAN2.1]
Requested protocol [NT LM 0.12]
lp_file_list_changed()
file /etc/samba/smb.conf - /etc/samba/smb.conf  last mod_time: Wed Oct
13 20:38:32 2004

lp_file_list_changed()
file /etc/samba/smb.conf - /etc/samba/smb.conf  last mod_time: Wed Oct
13 20:38:32 2004

using SPNEGO
Selected protocol NT LM 0.12
negprot index=5
size=127
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=51201
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=0
smt_wct=17
smb_vwv[ 0]=5 (0x5)
smb_vwv[ 1]=12803 (0x3203)
smb_vwv[ 2]=  256 (0x100)
smb_vwv[ 3]= 1024 (0x400)
smb_vwv[ 4]=   65 (0x41)
smb_vwv[ 5]=0 (0x0)
smb_vwv[ 6]=  256 (0x100)
smb_vwv[ 7]= 5888 (0x1700)
smb_vwv[ 8]=   23 (0x17)
smb_vwv[ 9]=64768 (0xFD00)
smb_vwv[10]=32995 (0x80E3)
smb_vwv[11]=  128 (0x80)
smb_vwv[12]= 4711 (0x1267)
smb_vwv[13]=22320 (0x5730)
smb_vwv[14]=50353 (0xC4B1)
smb_vwv[15]=34817 (0x8801)
smb_vwv[16]=15103 (0x3AFF)
smb_bcc=58
write_socket(21,131)
write_socket(21,131) wrote 131
got message type 0x0 of len 0xce
Transaction 1 of length 210
size=206
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=24
smb_flg2=51207
smb_tid=0
smb_pid=65279
smb_uid=0
smb_mid=64
smt_wct=12
smb_vwv[ 0]=  255 (0xFF)
smb_vwv[ 1]=  206 (0xCE)
smb_vwv[ 2]=16644 (0x4104)
smb_vwv[ 3]=   50 (0x32)
smb_vwv[ 4]=0 (0x0)
smb_vwv[ 5]=0 (0x0)
smb_vwv[ 6]=0 (0x0)
smb_vwv[ 7]=   74 (0x4A)
smb_vwv[ 8]=0 (0x0)
smb_vwv[ 9]=0 (0x0)
smb_vwv[10]=  212 (0xD4)
smb_vwv[11]=32768 (0x8000)
smb_bcc=147
switch message SMBsesssetupX (pid 5911) conn 0x0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
NT user token: (NULL)
UNIX token of user 0
Primary group is 0 and contains 0 supplementary groups
change_to_root_user: now uid=(0,0) gid=(0,0)
wct=12 flg2=0xc807
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources.
Doing spnego session setup
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[]
Got OID 1 3 6 1 4 1 311 2 2 10
Got secblob of size 40
Making default auth method list for standalone security=user, encrypt
passwords = yes
Attempting to register auth backend rhosts
Successfully added auth method 'rhosts'
Attempting to register auth backend hostsequiv
Successfully added auth method 'hostsequiv'
Attempting to register auth backend sam
Successfully added auth method 'sam'
Attempting to register auth backend sam_ignoredomain
Successfully added auth method 'sam_ignoredomain'
Attempting to register auth backend unix
Successfully added auth method 'unix'
Attempting to register 

[Samba] check_ntlm_password: Authentication for...

2004-10-11 Thread Mario Ohnewald
Hello List!

I am running Debian stable with a 2.4.27 kernel, samba 3.0.7 and
OpenLDAP 2.2.17.

I am running samba and slapd like this in two screens:
  /usr/local/samba/sbin/smbd -F -i -d 3 -S -s /etc/samba/smb.conf
  /usr/local/libexec/slapd -d 9 -f /usr/local/etc/openldap/slapd.conf -s
9

And when i try to access (\\192.168.1.252) my samba server from a win2k
host, smb logs the following stuff below and then crashes:

- SNIP --

check_sam_security: Couldn't find user 'testuser' in passdb file. 
check_ntlm_password:  Authentication for user [testuser] - [testuser]
FAILED with error NT_STATUS_NO_SUCH_USER 
Transaction 3 of length 228 
switch message SMBsesssetupX (pid 2710) conn 0x0 
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 
wct=12 flg2=0xc807 
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources. 
Doing spnego session setup 
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[] 
Got OID 1 3 6 1 4 1 311 2 2 10 
Got secblob of size 59 
Got NTLMSSP neg_flags=0xe208b297 
Transaction 4 of length 324 
switch message SMBsesssetupX (pid 2710) conn 0x0 
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 
wct=12 flg2=0xc807 
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources. 
Doing spnego session setup 
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[] 
Got user=[testuser] domain=[VMWARE] workstation=[VMWARE] len1=24
len2=24 
check_ntlm_password:  Checking password for unmapped user
[EMAIL PROTECTED] with the new password interface 
check_ntlm_password:  mapped user is: [EMAIL PROTECTED] 
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 
push_conn_ctx(0) : conn_ctx_stack_ndx = 0 
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 
check_sam_security: Couldn't find user 'testuser' in passdb file. 
check_ntlm_password:  Authentication for user [testuser] - [testuser]
FAILED with error NT_STATUS_NO_SUCH_USER 
Transaction 5 of length 228 
switch message SMBsesssetupX (pid 2710) conn 0x0 
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 
wct=12 flg2=0xc807 
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources. 
Doing spnego session setup 
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[] 
Got OID 1 3 6 1 4 1 311 2 2 10 
Got secblob of size 59 
Got NTLMSSP neg_flags=0xe208b297 
Transaction 6 of length 324 
switch message SMBsesssetupX (pid 2710) conn 0x0 
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 
wct=12 flg2=0xc807 
setup_new_vc_session: New VC == 0, if NT4.x compatible we would close
all old resources. 
Doing spnego session setup 
NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
PrimaryDomain=[] 
Got user=[testuser] domain=[VMWARE] workstation=[VMWARE] len1=24
len2=24 
check_ntlm_password:  Checking password for unmapped user
[EMAIL PROTECTED] with the new password interface 
check_ntlm_password:  mapped user is: [EMAIL PROTECTED] 
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 
push_conn_ctx(0) : conn_ctx_stack_ndx = 0 
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 
check_sam_security: Couldn't find user 'testuser' in passdb file. 
check_ntlm_password:  Authentication for user [testuser] - [testuser]
FAILED with error NT_STATUS_NO_SUCH_USER 
timeout_processing: End of file from client (client has disconnected). 
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 
Closing connections 
Yielding connection to 
Server exit (normal exit) 
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 
Closing connections 
Yielding connection to 
yield_connection: tdb_delete for name  failed with error Record does not
exist. 
Server exit (Caught TERM signal)

- SNIP --



Has anyone an idea what i am doing wrong? Or what causes the error?
Do you need more log output?

Thanks, Mario

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] mkntpasswd

2004-06-29 Thread Mario Ohnewald
Hi!

I am currently follwoing this howto:
http://www.samba.org/samba/docs/man/guide/happy.html#ch6-nss02

and i am stuck with:
(..)You must compile the mkntpasswd tool and then install it into the
/var/lib/samba/sbin directory, as shown here(...)


Where can i get the mkntpasswd sources from? Or is there a rpm package for
it?

Thanks, Mario

-- 
Sie haben neue Mails! - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] mkntpasswd

2004-06-29 Thread Mario Ohnewald
Ah, 

 On Tue, Jun 29, 2004 at 10:51:45AM +0200, Mario Ohnewald wrote:
  Hi!
  
  
  Where can i get the mkntpasswd sources from? Or is there a rpm package
 for
  it?
  
 
 You'll get it from the source directory of smbldap-tools from Idealx.
 
 http://cvs.idealx.org/cgi-bin/cvsweb/samba/smbldap-tools/mkntpwd.tar.gz

Its called mkntpwd! :)
Thanks!

-- 
Sie haben neue Mails! - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] smbldap-populate.pl

2004-06-29 Thread Mario Ohnewald
Hi again :)

I am trying to populate my ldap database with the ./smbldap-populate.pl
script now.
The errors i get are:


adding new entry: uid=Administrator,ou=People,dc=abmas,dc=biz
failed to add entry: objectclass: value #2 invalid per syntax at   
./smbldap-populate.pl line 323, GEN1 line 6.

adding new entry: uid=nobody,ou=People,dc=abmas,dc=biz
failed to add entry: objectclass: value #2 invalid per syntax at
./smbldap-populate.pl line 323, GEN1 line 7.


I guess it can not add it because there is something wrong with the
samba.schema.
Has anyone else had that problem yet?
I have already changed the spelling problem (objectClass:) sambaSAMAccount
to sambaSamAccount. So that maches now.
I would just like to know now why i get this sytax error with the populate
script.

Thanks, Mario

-- 
Sie haben neue Mails! - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] smbldap-populate.pl

2004-06-29 Thread Mario Ohnewald
Solution: cp schema/nis.schema.default schema/nis.schema

I kept messing around in the samba schema, but it was the posix one which
caused the problems :)

 Hi again :)
 
 I am trying to populate my ldap database with the ./smbldap-populate.pl
 script now.
 The errors i get are:
 
 
 adding new entry: uid=Administrator,ou=People,dc=abmas,dc=biz
 failed to add entry: objectclass: value #2 invalid per syntax at   
 ./smbldap-populate.pl line 323, GEN1 line 6.
 
 adding new entry: uid=nobody,ou=People,dc=abmas,dc=biz
 failed to add entry: objectclass: value #2 invalid per syntax at
 ./smbldap-populate.pl line 323, GEN1 line 7.
 
 
 I guess it can not add it because there is something wrong with the
 samba.schema.
 Has anyone else had that problem yet?
 I have already changed the spelling problem (objectClass:) sambaSAMAccount
 to sambaSamAccount. So that maches now.
 I would just like to know now why i get this sytax error with the populate
 script.
 
 Thanks, Mario
 
 -- 
 Sie haben neue Mails! - Die GMX Toolbar informiert Sie beim Surfen!
 Jetzt aktivieren unter http://www.gmx.net/info
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  http://lists.samba.org/mailman/listinfo/samba
 

-- 
+++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] samba 3.0.3-5 PDC - share works, domain login not

2004-06-29 Thread Mario Ohnewald
Hello List!
I just set up a samba3+ldap pdc _almost_ successfully.

If i log into the win2k box and i access \\123.123.123.123\user1
it asks me for my user1 passwd and i can access its home dir.

But i can not log into the domain with the user1. It complains about a wrong
passwd or user at the login prompt.

Could it be that my machine is missing in my user databases?
I did check my machine and it _should_ be added by the smb.conf script:
  add machine script = /usr/local/sbin/smbldap-useradd.pl -w '%u'

But it doesnt add it automatically, so i ran the script manually.

Anyway, the debug level is set to 1, and here are some log lines:

grep 14:37 /var/log/samba/* | grep -v nmbd
/var/log/samba/box:[2004/06/29 14:37:31, 0]
rpc_server/srv_netlog_nt.c:get_md4pw(201)
/var/log/samba/box:[2004/06/29 14:37:31, 0]
rpc_server/srv_netlog_nt.c:get_md4pw(201)


Why does it say md4pw here? I set my passwds to md5. Does that matter?
But accessing a share is no problem at all.

Thanks for any hints, Mario

-- 
+++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++
GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba