Re: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1 workstation

2004-07-28 Thread Bert_De_Ridder
Yes, I have checked the LDAP entry; I even recreated it; I tried the 
user/pwd on 3 other machines : 2000 Prof. Wks; 2000 Server and XP Prof.
The local permissions on the machine are OK; I can add the domain user to 
the local admin. group, so that should be ok. 

I agree that it is not a server-side issue; but where on the client can I 
start searching for errors ? 


Regards, 

Bert De Ridder

PeopleWare NV - Head Office
Cdt.Weynsstraat 85 
B-2660 Hoboken 
Tel: +32 3 448.33.38 
Fax: +32 3 448.32.66 

PeopleWare NV - Branch Office Geel
Kleinhoefstraat 5
B-2440 Geel
Tel: +32 14 57.00.90
Fax: +32 14 58.13.25

http://www.peopleware.be 
http://www.mobileware.be 



Arno Seidel [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
27/07/2004 17:56
Please respond to
[EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc

Subject
AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom1 
workstation






Hi,

did you check the ldap-entry for that user?? maybe there is a mistake...
are the other workstations you tried w2k too?
are the local permissions on the workstation for that user correct???
maybe there is a local-policy...
maybe there is a user-workstation entry in the ldapaccount...

i don?t think that it has something to do with the configuration of the
samba /ldap servers, because other pc?s on the same segment have no
problems.


 -Ursprungliche Nachricht-
 Von: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Auftrag von
 [EMAIL PROTECTED]
 Gesendet: Dienstag, 27. Juli 2004 16:51
 An: Umberto Zanatta
 Cc: [EMAIL PROTECTED]
 Betreff: Re: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
 workstation


 Yes, but I hadn't included that in my previous post; I tried to trim the
 message

 winbind uid = 100-2
 winbind gid = 100-2
 winbind separator = +
 winbind use default domain = Yes

 I am not using password server, because i want Samba to think it's on 
the
 same server; however the LDAP on that server is a slave, so updates are
 sent to our master LDAP server. (and back to the slave via the 
replicator
 off course)

 I can use the shares via smbclient on the server; I really don't think
 there is an error on the server; since everything works when changing 
all
 other conditions (switch pc or another user on that pc); it's just that
 one user when working on that one machine.


 Bert De Ridder





 Umberto Zanatta [EMAIL PROTECTED]
 Sent by: [EMAIL PROTECTED]
 27/07/2004 15:28

 To
 [EMAIL PROTECTED]
 cc
 [EMAIL PROTECTED]
 Subject
 Re: AW: AW: [Samba] Samba - LDAP - User cannot login from   1
 workstation






 Have you tried configuring winbind? Of course, it's very important on
 Samba PDC+BDC+File Server.

 Perhaps, you've forgotten 'password server': it hasn't to be the ip of
 bdc, but the ip of pdc
 and 'security = domain';

 You should as well (for name resolver) add bcast to 'name resolve
 order'.


 Il mar, 2004-07-27 alle 15:15, [EMAIL PROTECTED] ha scritto:

  Ok, so the getpeername was a coincidence; I haven't seen it more than
  once, that's true.
 
  smb.conf:
  [global]
  domain master = No
  domain logons = Yes
  map to guest = never
  netbios name = FATTY
  workgroup = PEOPLEWARE
  server string = Linux BDC
  encrypt passwords = Yes
  log level = 2
  name resolve order = lmhosts wins
  time server = Yes
  socket options = SO_SNDBUF=8192 SO_RCVBUF=8192
  guest account = nobody
  logon script = login.bat
  logon path =
  logon drive = H:
  os level = 99
  preferred master = No
  wins support = Yes
  wins server = 192.168.0.22
  remote browse sync = 192.168.0.22
  remote announce = 192.168.3.255/PEOPLEWARE
  printing = cups
  local master = yes
  load printers = yes
  printcap name = cups
  passwd program =/usr/local/sbin/smbldap-passwd %u
  passwd chat = *new*password* %n\n *new*password:* %n\
  *successfully*
  add machine script = /usr/local/sbin/smbldap-useradd -w u%
  add user script = /usr/local/sbin/smbldap-useradd -a %u
  delete user script = /usr/local/sbin/smbldap-userdel %u
  add group script = /usr/local/sbin/smbldap-groupadd %g
  delete group script = /usr/local/sbin/smbldap-groupdel %g
  add user to group script = /usr/local/sbin/smbldap-groupmod -m
  %u %g
  delete user from group script =
  /usr/local/sbin/smbldap-groupmod -x %u %g
  set primary group script = /usr/local/sbin/smbldap-usermod -G
  %g %u
  passdb backend = ldapsam:ldap://127.0.0.1
  ldap suffix = dc=peopleware,dc=be
  ldap admin dn = cn=Manager,dc=peopleware,dc=be
  ldap user suffix = ou=Users
  ldap group suffix = ou=Groups
  ldap machine suffix = ou=Computers
  ldap idmap suffix = ou=Users
  ldap passwd sync = Yes
  ldap ssl = off
 
  [netlogon]
 

[Samba] Samba and syslog

2004-07-28 Thread Nicole Hähnel
Hi,
when starting samba it logs the following text to /var/log/messages,
although I have added syslog only = no and syslog = 1.
Samba's log file is /var/log/samba...
How can I disable logging to syslog?
Thanks!
Nicole
Jul 28 08:19:11 Domino1 smb: Starten von smbd succeeded
Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
nmbd/asyncdns.c:start_async_dns(149)
Jul 28 08:19:11 Domino1 nmbd[6667]:   started asyncdns process 6668
Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
nmbd/nmbd_logonnames.c:add_logon_names(163)
Jul 28 08:19:11 Domino1 nmbd[6667]:   add_domain_logon_names:
Jul 28 08:19:11 Domino1 nmbd[6667]:   Attempting to become logon server 
for workgroup TEST on subnet xx.xx.xx.xx
Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
nmbd/nmbd_logonnames.c:add_logon_names(163)
Jul 28 08:19:11 Domino1 nmbd[6667]:   add_domain_logon_names:
Jul 28 08:19:11 Domino1 nmbd[6667]:   Attempting to become logon server 
for workgroup TEST on subnet UNICAST_SUBNET
Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(327)
Jul 28 08:19:11 Domino1 nmbd[6667]:   become_domain_master_browser_wins:
Jul 28 08:19:11 Domino1 nmbd[6667]:   Attempting to become domain master 
browser on workgroup TEST, subnet UNICAST_SUBNET.
Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(341)
Jul 28 08:19:11 Domino1 nmbd[6667]:   become_domain_master_browser_wins: 
querying WINS server from IP xx.xx.xx.xx for domain master browser name 
TEST1b onJul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
nmbd/nmbd_logonnames.c:become_logon_server_success(124)
Jul 28 08:19:11 Domino1 nmbd[6667]:   become_logon_server_success: Samba 
is now a logon server for workgroup TEST on subnet UNICAST_SUBNET
Jul 28 08:19:11 Domino1 smb: Starten von nmbd succeeded
Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
Jul 28 08:19:11 Domino1 nmbd[6667]:   *
Jul 28 08:19:11 Domino1 nmbd[6667]:
Jul 28 08:19:11 Domino1 nmbd[6667]:   Samba server SAMBA is now a domain 
master browser for workgroup TEST on subnet UNICAST_SUBNET
Jul 28 08:19:11 Domino1 nmbd[6667]:
Jul 28 08:19:11 Domino1 nmbd[6667]:   *
Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282)
Jul 28 08:19:11 Domino1 nmbd[6667]:   become_domain_master_browser_bcast:
Jul 28 08:19:11 Domino1 nmbd[6667]:   Attempting to become domain master 
browser on workgroup TEST on subnet 172.27.18.183
Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295)
Jul 28 08:19:11 Domino1 nmbd[6667]: 
become_domain_master_browser_bcast: querying subnet xx.xx.xx.xx for 
domain master browser on workgroup TEST

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


[Samba] failed to decode PDU - failed to do schannel processing

2004-07-28 Thread linux
I am running Slackware 10
samba-3.0.5-i486-2
I get the following errors in my syslog, over and over and over...

Jul 27 17:05:51 Olympus smbd[11471]: [2004/07/27 17:05:51, 0]
rpc_server/srv_pipe.c:api_pipe_netsec_process(1397) 
Jul 27 17:05:51 Olympus smbd[11471]:   failed to decode PDU 
Jul 27 17:05:51 Olympus smbd[11471]: [2004/07/27 17:05:51, 0]
rpc_server/srv_pipe_hnd.c:process_request_pdu(605) 
Jul 27 17:05:51 Olympus smbd[11471]:   process_request_pdu: failed to do
schannel processing. 

How can I fix this?

Jimmy DiVittorio
[EMAIL PROTECTED]


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


Re: [Samba] passdb requires /etc/passwd entry?

2004-07-28 Thread Gabor Kiss [Bitman]
 I can't comment on the intentions of the samba authors as to the reasons
 that they have required the samba user to be a local unix user. I would
 venture to guess that a search of the samba archives would give you a
 lot of history on that.

OK, but I want at least these unix accounts to be locked.
So samba password is different than stored in /etc/shadow.
However these users cannot use swat at this moment because
it checks the normal unix password instead of samba content
of /var/lib/samba/secrets.tdb.

How can I reach swat to ignore /etc/shadow?
(It is no LDAP here.)

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


Re: [Samba] failed to decode PDU - failed to do schannel processing

2004-07-28 Thread Craig White
On Tue, 2004-07-27 at 23:46, [EMAIL PROTECTED] wrote:
 I am running Slackware 10
 samba-3.0.5-i486-2
 I get the following errors in my syslog, over and over and over...
 
 Jul 27 17:05:51 Olympus smbd[11471]: [2004/07/27 17:05:51, 0]
 rpc_server/srv_pipe.c:api_pipe_netsec_process(1397) 
 Jul 27 17:05:51 Olympus smbd[11471]:   failed to decode PDU 
 Jul 27 17:05:51 Olympus smbd[11471]: [2004/07/27 17:05:51, 0]
 rpc_server/srv_pipe_hnd.c:process_request_pdu(605) 
 Jul 27 17:05:51 Olympus smbd[11471]:   process_request_pdu: failed to do
 schannel processing. 
 
 How can I fix this?

I think an upgrade to 3.0.5 should take care of that

Craig

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


Re: [Samba] Empty print queue

2004-07-28 Thread Gabor Kiss [Bitman]
 Users can also print on shared printers.
 But
 - (Windows XP) clients mostly report printers as unaccessable,
 - Opening printer icon produces empty list of queued jobs.

 I need some debugging help.
 What to check now?
 Is there any client for Linux that an also gets job list?

Progress report:
- Version 3.0.5-Debian produces the same result as 3.0.4-Debian.
- the Linux client I wanted is:

$ rpcclient -c 'enumjobs _printername_' -U _username_ _servername_
Password:
0: jobid[5]: _myuser_ Microsoft Word - XXX.doc  0/0 pages
$

This means XPs use slightly different protocol than rpcclient.

Gabor

No smoke, no drugs, no vindoze.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba and syslog

2004-07-28 Thread Umberto Zanatta
You can't.

'syslog = 0' will be map onto LOG_ERR.

u.

Il mer, 2004-07-28 alle 08:28, Nicole Hhnel ha scritto:

 Hi,
 
 when starting samba it logs the following text to /var/log/messages,
 although I have added syslog only = no and syslog = 1.
 
 Samba's log file is /var/log/samba...
 
 How can I disable logging to syslog?
 
 Thanks!
 
 Nicole
 
 
 Jul 28 08:19:11 Domino1 smb: Starten von smbd succeeded
 Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
 nmbd/asyncdns.c:start_async_dns(149)
 Jul 28 08:19:11 Domino1 nmbd[6667]:   started asyncdns process 6668
 Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
 nmbd/nmbd_logonnames.c:add_logon_names(163)
 Jul 28 08:19:11 Domino1 nmbd[6667]:   add_domain_logon_names:
 Jul 28 08:19:11 Domino1 nmbd[6667]:   Attempting to become logon server 
 for workgroup TEST on subnet xx.xx.xx.xx
 Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
 nmbd/nmbd_logonnames.c:add_logon_names(163)
 Jul 28 08:19:11 Domino1 nmbd[6667]:   add_domain_logon_names:
 Jul 28 08:19:11 Domino1 nmbd[6667]:   Attempting to become logon server 
 for workgroup TEST on subnet UNICAST_SUBNET
 Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
 nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(327)
 Jul 28 08:19:11 Domino1 nmbd[6667]:   become_domain_master_browser_wins:
 Jul 28 08:19:11 Domino1 nmbd[6667]:   Attempting to become domain master 
 browser on workgroup TEST, subnet UNICAST_SUBNET.
 Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
 nmbd/nmbd_become_dmb.c:become_domain_master_browser_wins(341)
 Jul 28 08:19:11 Domino1 nmbd[6667]:   become_domain_master_browser_wins: 
 querying WINS server from IP xx.xx.xx.xx for domain master browser name 
 TEST1b onJul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
 nmbd/nmbd_logonnames.c:become_logon_server_success(124)
 Jul 28 08:19:11 Domino1 nmbd[6667]:   become_logon_server_success: Samba 
 is now a logon server for workgroup TEST on subnet UNICAST_SUBNET
 Jul 28 08:19:11 Domino1 smb: Starten von nmbd succeeded
 Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
 nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
 Jul 28 08:19:11 Domino1 nmbd[6667]:   *
 Jul 28 08:19:11 Domino1 nmbd[6667]:
 Jul 28 08:19:11 Domino1 nmbd[6667]:   Samba server SAMBA is now a domain 
 master browser for workgroup TEST on subnet UNICAST_SUBNET
 Jul 28 08:19:11 Domino1 nmbd[6667]:
 Jul 28 08:19:11 Domino1 nmbd[6667]:   *
 Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
 nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282)
 Jul 28 08:19:11 Domino1 nmbd[6667]:   become_domain_master_browser_bcast:
 Jul 28 08:19:11 Domino1 nmbd[6667]:   Attempting to become domain master 
 browser on workgroup TEST on subnet 172.27.18.183
 Jul 28 08:19:11 Domino1 nmbd[6667]: [2004/07/28 08:19:11, 0] 
 nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295)
 Jul 28 08:19:11 Domino1 nmbd[6667]: 
 become_domain_master_browser_bcast: querying subnet xx.xx.xx.xx for 
 domain master browser on workgroup TEST

___
Umberto Zanatta
linuxDidattica

tel: +39 (335) 54 71 385
email: [EMAIL PROTECTED]
web: http://linuxdidattica.org
___
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Re: Samba3 - LDAP - USRMGR.EXE

2004-07-28 Thread Christian . Wittmer
Kang Sun [EMAIL PROTECTED]
Sent by: 
[EMAIL PROTECTED]
27.07.2004 16:00

 
To: [EMAIL PROTECTED]
cc: 
Subject:[Samba] Re: Samba3 - LDAP - USRMGR.EXE

Hi Kang Sun,

Just a hunch, I didnot test myself.
In your smb.conf, did you set the add user script to add posix account 
as
well as Windows account? If so, there might be a problem.
From what I read and understand, the script suppose to add Posix account
only, and samba will add the Windows account. If the Windows account is
I tested it and if I add a user via USRMGR there is only a posix account 
in LDAP, but samba did not add the samba specific data to ldap. I only get 
an error like User not found
And I could not find any error in log.smbd.

added by the add user script, then Samba has to delete it or modify it,
which it might not have the previlege or some error comes up that does 
not
mean what it says.

Hope this helps!
Any other idea ?

Thanks
Chris

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




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


Re : Re: [Samba] Changing password problem

2004-07-28 Thread stephane . purnelle




Hi Christian,

The ldap passwd sync is used for set if samba update LM, NT passwords and
LDAP password or not the LDAP Password.
But I read on the man of smb.conf :

This option is used to define whether or not Samba should sync the LDAP
password with the NT and LM hashes for normal accounts (NOT for
workstation, server or domain trusts) on a password change via SAMBA.


The ldap passwd sync can be set to one of three values:
  Yes = Try to update the LDAP, NT and LM passwords and update the
  pwdLastSet time.
  No = Update NT and LM passwords and update the pwdLastSet time.
  Only = Only update the LDAP password and let the LDAP server do the
  rest


Why sambaPwdMustChange is not updated, samba must update sambaPwdMustChange
if the password policy maximum password age is set.
Maybe this options is corrected in 3.0.6 ?

Thank you


  Stéphane Purnelle

---
Stéphane PURNELLE [EMAIL PROTECTED]
Service Informatique   Corman S.A.   Tel : 00 32 087/342467


   
   
  [EMAIL PROTECTED]
   
  entware.com   Pour :   [EMAIL PROTECTED] 
 
cc : [EMAIL PROTECTED] 
   
  27/07/2004 13:00  Objet :  Re: [Samba] 
Changing password problem
   
   
   
   




Hi stephane,

did you try

ldap passwd sync = yes

for me it worked.

Christian Wittmer

-
Büro/Office: +49 (0) 6227/385-120
Email: [EMAIL PROTECTED]

InterComponentWare AG
Otto-Hahn-Strasse 3
69190 Walldorf
Zentrale/Main: +49 (6227) 385-100

http://www.intercomponentware.com
http://www.lifesensor.com




[EMAIL PROTECTED]
Sent by:
[EMAIL PROTECTED]
27.07.2004 12:49


To: [EMAIL PROTECTED]
cc:
Subject:[Samba] Changing password problem






Hi,

When a client try to change password :

if sambaPwdCanChange = 2147483647 and sambaPwdMustChange = 1090923529 (for
example)
Samba would not change the password  :
I can find in log :
  user xxx cannot change password now, must wait until ven, 13 déc
1901
21:45:51 GMT

But, if I set the sambaPwdCanChange to 0, the password is changed but, the
sambaPwdMustChange is not updated to next date.

I use LDAP and password policy.
The unix password sync = no

Can anyone answer to this problem ?

Thank you


  Stéphane Purnelle


---
Stéphane PURNELLE [EMAIL PROTECTED]
Service Informatique   Corman S.A.   Tel : 00 32 087/342467

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






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


AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1 workstation

2004-07-28 Thread Arno Seidel
Hi,

what os does the client have? W98?

in the system-controll folder there should be a icon (in german called
Verwaltung) whre the local policies , the settings for odbc ...and mor
are... there should be also an icon called
eventmanager / display... maybe there is a log entry?

Did you see some errrors on the samba side (instead of the connection reset
by peer) if you try a higher debug-/log-level?

the other way is, that you back-up the users home-directory, and his
roaming-profile and completely remove him and (from windows / ldap / samba
...) and readd him as a new
user with a empty home and profile-directory... and then just put the
saved-files (from the profile / homedirectory in the new created profile /
home-directory in.
it could be that there are some settings in the profile are wrong.




 -Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 28. Juli 2004 08:23
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: Re: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
workstation



  Yes, I have checked the LDAP entry; I even recreated it; I tried the
user/pwd on 3 other machines : 2000 Prof. Wks; 2000 Server and XP Prof.
  The local permissions on the machine are OK; I can add the domain user to
the local admin. group, so that should be ok.

  I agree that it is not a server-side issue; but where on the client can I
start searching for errors ?


  Regards,

  Bert De Ridder

  PeopleWare NV - Head Office
  Cdt.Weynsstraat 85
  B-2660 Hoboken
  Tel: +32 3 448.33.38
  Fax: +32 3 448.32.66

  PeopleWare NV - Branch Office Geel
  Kleinhoefstraat 5
  B-2440 Geel
  Tel: +32 14 57.00.90
  Fax: +32 14 58.13.25

  http://www.peopleware.be
  http://www.mobileware.be


Arno Seidel [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
27/07/2004 17:56 Please respond to
  [EMAIL PROTECTED]


   To [EMAIL PROTECTED]
  cc
  Subject AW: AW: AW: [Samba] Samba - LDAP - User cannot
loginfrom1workstation







  Hi,

  did you check the ldap-entry for that user?? maybe there is a mistake...
  are the other workstations you tried w2k too?
  are the local permissions on the workstation for that user correct???
  maybe there is a local-policy...
  maybe there is a user-workstation entry in the ldapaccount...

  i don?t think that it has something to do with the configuration of the
  samba /ldap servers, because other pc?s on the same segment have no
  problems.


   -Ursprungliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Auftrag von
   [EMAIL PROTECTED]
   Gesendet: Dienstag, 27. Juli 2004 16:51
   An: Umberto Zanatta
   Cc: [EMAIL PROTECTED]
   Betreff: Re: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
   workstation
  
  
   Yes, but I hadn't included that in my previous post; I tried to trim the
   message
  
   winbind uid = 100-2
   winbind gid = 100-2
   winbind separator = +
   winbind use default domain = Yes
  
   I am not using password server, because i want Samba to think it's on
the
   same server; however the LDAP on that server is a slave, so updates are
   sent to our master LDAP server. (and back to the slave via the
replicator
   off course)
  
   I can use the shares via smbclient on the server; I really don't think
   there is an error on the server; since everything works when changing
all
   other conditions (switch pc or another user on that pc); it's just that
   one user when working on that one machine.
  
  
   Bert De Ridder
  
  
  
  
  
   Umberto Zanatta [EMAIL PROTECTED]
   Sent by: [EMAIL PROTECTED]
   27/07/2004 15:28
  
   To
   [EMAIL PROTECTED]
   cc
   [EMAIL PROTECTED]
   Subject
   Re: AW: AW: [Samba] Samba - LDAP - User cannot login from   1
   workstation
  
  
  
  
  
  
   Have you tried configuring winbind? Of course, it's very important on
   Samba PDC+BDC+File Server.
  
   Perhaps, you've forgotten 'password server': it hasn't to be the ip of
   bdc, but the ip of pdc
   and 'security = domain';
  
   You should as well (for name resolver) add bcast to 'name resolve
   order'.
  
  
   Il mar, 2004-07-27 alle 15:15, [EMAIL PROTECTED] ha scritto:
  
Ok, so the getpeername was a coincidence; I haven't seen it more than
once, that's true.
   
smb.conf:
[global]
domain master = No
domain logons = Yes
map to guest = never
netbios name = FATTY
workgroup = PEOPLEWARE
server string = Linux BDC
encrypt passwords = Yes
log level = 2
name resolve order = lmhosts wins
time server = Yes
socket options = SO_SNDBUF=8192 SO_RCVBUF=8192
guest account = nobody
logon script = login.bat
logon path =
logon drive = H:
os level = 99
preferred master = No
wins support = Yes
  

[Samba] Connection timeout

2004-07-28 Thread maurizio
Hello
I'm working with samba 2.2.8 on Solaris 5.8, and I often have this error:

2004/07/07 15:23:34, 0] lib/util_sock.c:(479)

read_socket_data: recv failure for 4. Error = Connection timed out

[2004/07/08 00:23:46, 0] lib/util_sock.c:(479)

read_socket_data: recv failure for 4. Error = Connection reset by peer

This is very bad, because applications running through Samba shares work very slow! 
Does anybody know the reason of this error???

Thanks in advance!

bye

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


Re: FW: [Samba] Samba printers print$

2004-07-28 Thread Marcus White
FWIW, this is the procedure that has worked for me with Samba Ver 3.2
and RHEL 3. How are you defining the printers? What does your [print$]
section contain in your smb.conf?

Marcus O.

 On Tue, 2004-07-27 at 09:56, Kyle Miller wrote:
 For what it's worth, I too have the same problem, which I posted to
 the list about a few weeks ago (unfortunately no response). I was
 following the section of the HOWTO that you linked to below. I think
 it's possible that there is a missing step in the documentation. I can
 print to my printer just fine, but cannot upload the drivers using the
 APW, as documented in the howto, even though my permissions appear to
 be correct.
 
 If anyone might be able to shed some more light on it, I'd sure
 appreciate it. In my case, details are in my previous email to the
 list, or I can provide them again. Maybe we can find some similarity
 between my setup and this guy's setup that leads to the problem.
 
 Kyle
 
 Please check out this link:
 http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/printing.html#id2550771
 
 HTH,
 
 Marcus O.

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


Re: FW: [Samba] Samba printers print$

2004-07-28 Thread Marcus White
BTW... Did you create the directory list similar to this in your drivers
directory?

[print$]--+
  |--W32X86   # serves drivers to Windows NT x86
  |--WIN40# serves drivers to Windows 95/98
  |--W32ALPHA # serves drivers to Windows NT Alpha_AXP
  |--W32MIPS  # serves drivers to Windows NT R4000
  |--W32PPC   # serves drivers to Windows NT PowerPC

Marcus O.



On Tue, 2004-07-27 at 09:56, Kyle Miller wrote:
 For what it's worth, I too have the same problem, which I posted to
 the list about a few weeks ago (unfortunately no response). I was
 following the section of the HOWTO that you linked to below. I think
 it's possible that there is a missing step in the documentation. I can
 print to my printer just fine, but cannot upload the drivers using the
 APW, as documented in the howto, even though my permissions appear to
 be correct.
 
 If anyone might be able to shed some more light on it, I'd sure
 appreciate it. In my case, details are in my previous email to the
 list, or I can provide them again. Maybe we can find some similarity
 between my setup and this guy's setup that leads to the problem.
 
 Kyle
 
 Please check out this link:
 http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/printing.html#id2550771
 
 HTH,
 
 Marcus O.

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


[Samba] Connection timeout

2004-07-28 Thread maurizio
Hello
I hope you can help me!
I'm working with 2 Sun Solaris 5.8 Sparc, one machine with Smba 2.2.0, and another one 
with Samba 2.2.8; both servers give the same error while working with samba:

[2004/07/07 15:23:34, 0] lib/util_sock.c:(479)

read_socket_data: recv failure for 4. Error = Connection timed out

[2004/07/08 00:23:46, 0] lib/util_sock.c:(479)

read_socket_data: recv failure for 4. Error = Connection reset by peer

[2004/07/07 13:54:47, 0] smbd/oplock.c:(768)

oplock_break: receive_smb timed out after 30 seconds.

oplock_break failed for file OCBF0100040707414876.XLS (dev = 1540002, inode = 529510).

I've search for a solution all over the web, but I haven't still find it!!!

Can you help me, please?

Thanks in advance!

Bye

Maurizio


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


[Samba] (no subject)

2004-07-28 Thread Loftus Andy - ALoftu
I have installed samba 2.2.9 to use SSL but i am having problems testing the
config. 

I was thinking that this could be something that i have missed on the PC
side but im not that familiar with Samba so any help would be much
appreciated. 

PING 

Works both ways via host and IP

SMBCLIENT
smbclient //macdui/tmp -U aloftu
added interface ip=10.92.50.72 bcast=10.92.50.255 nmask=255.255.255.0
TESTPARM
./testparm
Load smb config files from /usr/local/samba/lib/smb.conf
Processing section [andyhome]
Processing section [tmp]
Loaded services file OK.
NMBLOOKUP
/usr/local/samba/bin nmblookup -B macdui _SAMBA_
querying _SAMBA_ on 10.92.50.72
name_query failed to find name _SAMBA_

-
nmblookup -B macdui '*'
querying * on 10.92.50.72
10.92.50.72 *00

--
nmblookup -d 2 '*'
added interface ip=10.92.50.72 bcast=10.92.50.255 nmask=255.255.255.0
querying * on 10.92.50.255
Got a positive name query response from 10.92.50.133 ( 10.92.50.133 )
Got a positive name query response from 10.92.50.72 ( 10.92.50.72 )
Got a positive name query response from 10.92.50.132 ( 10.92.50.132 )
Got a positive name query response from 10.92.50.141 ( 10.92.50.141 )
Got a positive name query response from 10.92.50.149 ( 10.92.50.149 )
Got a positive name query response from 10.92.50.143 ( 10.92.50.143 )
Got a positive name query response from 10.92.50.137 ( 10.92.50.137 )
Got a positive name query response from 10.92.50.126 ( 10.92.50.126 )
Got a positive name query response from 10.92.50.146 ( 10.92.50.146 )
Got a positive name query response from 10.92.50.116 ( 10.92.50.116 )
Got a positive name query response from 10.92.50.136 ( 10.92.50.136 )
Got a positive name query response from 10.92.50.118 ( 10.92.50.118 )
Got a positive name query response from 10.92.50.102 ( 10.92.50.102 )
Got a positive name query response from 10.92.50.142 ( 10.92.50.142 )
Got a positive name query response from 10.92.50.117 ( 10.92.50.117
10.150.6.26 )
Got a positive name query response from 10.92.50.148 ( 10.92.50.148 )
Got a positive name query response from 10.92.50.113 ( 10.92.50.113 )
Got a positive name query response from 10.92.50.109 ( 10.92.50.109 )
Got a positive name query response from 10.92.50.253 ( 10.92.50.253 )
Got a positive name query response from 10.92.50.145 ( 10.92.50.145 )
Got a positive name query response from 10.92.50.53 ( 10.92.50.53 )
Got a positive name query response from 10.92.50.58 ( 10.92.50.58 )
Got a positive name query response from 10.92.50.56 ( 10.92.50.56 )
Got a positive name query response from 10.92.50.67 ( 10.92.50.69 )
Got a positive name query response from 10.92.50.104 ( 10.92.50.104 )
Got a positive name query response from 10.92.50.108 ( 10.92.50.108 )
Got a positive name query response from 10.92.50.112 ( 10.92.50.112 )
Got a positive name query response from 10.92.50.111 ( 10.92.50.111 )
Got a positive name query response from 10.92.50.114 ( 10.92.50.114 )
10.92.50.133 *00
10.92.50.72 *00
10.92.50.132 *00
10.92.50.141 *00
10.92.50.149 *00
10.92.50.143 *00
10.92.50.137 *00
10.92.50.126 *00
10.92.50.146 *00
10.92.50.116 *00
10.92.50.136 *00
10.92.50.118 *00
10.92.50.102 *00
10.92.50.142 *00
10.92.50.117 *00
10.150.6.26 *00
10.92.50.148 *00
10.92.50.113 *00
10.92.50.109 *00
10.92.50.253 *00
10.92.50.145 *00
10.92.50.53 *00
10.92.50.58 *00
10.92.50.56 *00
10.92.50.69 *00
10.92.50.104 *00
10.92.50.108 *00
10.92.50.112 *00
10.92.50.111 *00
10.92.50.114 *00

SMBCLIENT
smbclient //macdui/tmp
added interface ip=10.92.50.72 bcast=10.92.50.255 nmask=255.255.255.0 - This
just hangs

NET VIEW 
 C:\net view \\macdui
System error 53 has occurred.
The network path was not found.

--
C:\net use x: \\macdui\tmp

system error 85 has occured

The local device name is already used



Andy Loftus 
UNIX Systems Administrator
__   __

ACXIOM  

Direct Dial:  +44 (0)113 251 5881   Acxiom Limited  
Telephone: +44 (0)113 251 5034  1200 Century Way
Mobile +44 07931 606363   Colton , Leeds
Fax:   +44 (0)113 251 5365  LS15 8ZA
E-mail:[EMAIL PROTECTED]



**
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, 
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this 

[Samba] Characters

2004-07-28 Thread Mario Gamito
Hi,

I have this Samba server.
I'm from Portugal, so my users give names to their files containig
characters like à, õ , í, etc.

From the Windows point of view, everything is ok, but in the Linux
filesystem, those characters became a real mess.

The problem is that i need to record CDs directly on the server, and i
have a good deal of file and directory names all messed up.

I've already tried using unix charset = CP860 (860 is the portuguese
codepage) in smb.conf, but no good.

I've read the documentation, but got to no conclusion.

In short, i'd like to when a user saves a file, let's say olá.txt in a
Samba share, the file in the Linux filesystem is also called olá.txt
and not ol_?.txt or something messy alike.

A last info:

[EMAIL PROTECTED] home]# echo $LANG
en_US.ISO-8859-1
[EMAIL PROTECTED] home]#

Any help would be appreciated.

Warm Regards,
Mário Gamito

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


[Samba] /etc/printcap

2004-07-28 Thread Hermann Gottschalk
Hi,
following situation:

1) You create a raw printer (called testprinter) under cups and
leave the description-field (info-field) empty. cups will create an
entry in /etc/printcap of the form

testprinter|testprinter:rm=linux100:rp=testprinter:


2) You start samba with a standard [printers] and [print$] share.
samba will expose the printqueue to the clients.

3) You upload a windows printer driver via the Printer Wizard.
This succeeds; the driver is uploaded.

4) You try to install on an Windows-Workstation the printer and get
the message, that there is no driver available.

The reason is, that in ntdrivers.tdb the entry for the driver
corresponding to the printqueue is missing.

If you give the printqueue a description in the /etc/printcap (or
under cups), no matter what kind of, all works fine.

This seems to me, as if there is an unsufficient parsing of the
/etc/printcap, because all information needed is in, even when
queuename and description are equal (like in 1))

System: SuSE 9.1 (2.6.5-7.95-default) Samba (3.0.2a-51) 
cups (1.1.20-103)

Does anyone has the same problem?!

Greetings Hermann


-- 
  ___  ___ _ ______   __  _
 / _ \/ __|_   _/ __|  / __|_ __ | |__| || |
| (_) \__ \ | || (__  | (_ | '  \| '_ \ __ |
 \___/|___/ |_| \___|  \___|_|_|_|_.__/_||_|
--
 OSTC Open Source Training and Consulting GmbH
 Hermann Gottschalk  eMail: [EMAIL PROTECTED]
 Dipl.-Phys. Univ.   Tel:   +49 911-18 06 25 6
 Mobil: +49 173-36 00 68 0
 Delsenbachweg 32Fax:   +49 911-18 06 27 7
 90425 Nürnberg  Web:   http://www.ostc.de
--
PGP-Key: 0x0B2D8EEA 
No HTML-Mails; 72 Characters per line
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1 workstation

2004-07-28 Thread Bert_De_Ridder
It becomes VERY weird... 

This afternoon I witnessed the following : the user logged on to his pc; 
accessed his home directory on the PDC; no problema; accessed another 
share on the PDC; no problema; accessed a share on the BDC : connection 
refused. Going back to the PDC to access the home directory : connection 
refused. 

However; there were NO error entries in the logs on either Samba server. 
Only entries like these :
[2004/07/28 13:29:38, 1] smbd/service.c:make_connection_snum(619)
  allier (192.168.0.190) connect to service cvs initially as user mschijva 
(uid=1015, gid=100) (pid 22284)

I'm completely lost now


Bert De Ridder




Arno Seidel [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
28/07/2004 11:24
Please respond to
[EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc
[EMAIL PROTECTED]
Subject
AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot  loginfrom   1 
workstation






Hi,

what os does the client have? W98?

in the system-controll folder there should be a icon (in german called
Verwaltung) whre the local policies , the settings for odbc ...and mor
are... there should be also an icon called
eventmanager / display... maybe there is a log entry?

Did you see some errrors on the samba side (instead of the connection 
reset
by peer) if you try a higher debug-/log-level?

the other way is, that you back-up the users home-directory, and his
roaming-profile and completely remove him and (from windows / ldap / samba
...) and readd him as a new
user with a empty home and profile-directory... and then just put the
saved-files (from the profile / homedirectory in the new created profile /
home-directory in.
it could be that there are some settings in the profile are wrong.




 -Ursprungliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 28. Juli 2004 08:23
An: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Betreff: Re: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
workstation



  Yes, I have checked the LDAP entry; I even recreated it; I tried the
user/pwd on 3 other machines : 2000 Prof. Wks; 2000 Server and XP Prof.
  The local permissions on the machine are OK; I can add the domain user 
to
the local admin. group, so that should be ok.

  I agree that it is not a server-side issue; but where on the client can 
I
start searching for errors ?


  Regards,

  Bert De Ridder

  PeopleWare NV - Head Office
  Cdt.Weynsstraat 85
  B-2660 Hoboken
  Tel: +32 3 448.33.38
  Fax: +32 3 448.32.66

  PeopleWare NV - Branch Office Geel
  Kleinhoefstraat 5
  B-2440 Geel
  Tel: +32 14 57.00.90
  Fax: +32 14 58.13.25

  http://www.peopleware.be
  http://www.mobileware.be


Arno Seidel [EMAIL PROTECTED]
Sent by: 
[EMAIL PROTECTED]
27/07/2004 17:56 Please respond to
  [EMAIL PROTECTED]


   To [EMAIL PROTECTED]
  cc
  Subject AW: AW: AW: [Samba] Samba - LDAP - User cannot
loginfrom1workstation







  Hi,

  did you check the ldap-entry for that user?? maybe there is a mistake...
  are the other workstations you tried w2k too?
  are the local permissions on the workstation for that user correct???
  maybe there is a local-policy...
  maybe there is a user-workstation entry in the ldapaccount...

  i don?t think that it has something to do with the configuration of the
  samba /ldap servers, because other pc?s on the same segment have no
  problems.


   -Ursprungliche Nachricht-
   Von: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] Auftrag 
von
   [EMAIL PROTECTED]
   Gesendet: Dienstag, 27. Juli 2004 16:51
   An: Umberto Zanatta
   Cc: [EMAIL PROTECTED]
   Betreff: Re: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
   workstation
  
  
   Yes, but I hadn't included that in my previous post; I tried to trim 
the
   message
  
   winbind uid = 100-2
   winbind gid = 100-2
   winbind separator = +
   winbind use default domain = Yes
  
   I am not using password server, because i want Samba to think it's on
the
   same server; however the LDAP on that server is a slave, so updates 
are
   sent to our master LDAP server. (and back to the slave via the
replicator
   off course)
  
   I can use the shares via smbclient on the server; I really don't think
   there is an error on the server; since everything works when changing
all
   other conditions (switch pc or another user on that pc); it's just 
that
   one user when working on that one machine.
  
  
   Bert De Ridder
  
  
  
  
  
   Umberto Zanatta [EMAIL PROTECTED]
   Sent by: [EMAIL PROTECTED]
   27/07/2004 15:28
  
   To
   [EMAIL PROTECTED]
   cc
   [EMAIL PROTECTED]
   Subject
   Re: AW: AW: [Samba] Samba - LDAP - User cannot login from   1
   workstation
  
  
  
  
  
  
   Have you tried configuring winbind? Of course, it's very important on
   Samba PDC+BDC+File Server.
  
   Perhaps, you've forgotten 'password server': it hasn't to be the ip of
   bdc, but the ip of pdc
   and 

[Samba] Building Samba 3.0.5 on HP-UX 11.11

2004-07-28 Thread topher
First -- to avoid the common answers to the 'building on HP-UX'
questions that seem to be available on the list and the web:

1) using the depot from the Porting Center won't work, it's well
downrev of 3.0.5 and I need to get the new security fixes (so that the
security team will go back into it's dark dank den and fear not for
the security of our environment)

2) samba.org only has a 3.0.4a binary package for HP-UX -- so again,
no security fixes


as such, I'm trying to build 3.0.5 on HP-UX 11.11 -- and I'm running
into the same problem I pretty much always seem to run into:

if I use gcc (gcc 3.3.2 off the porting center), configure runs
through with several errors that look like:

configure: WARNING: foo/bar.h: present but cannot be compiled
configure: WARNING: foo/bar.h: check for missing prerequisite headers?
configure: WARNING: foo/bar.h: proceeding with the preprocessor's result

where foo and bar are any of about a dozen different headers...  I
suspect that if I could find a solution to this one, then I'd be able
to get somewhere -- the configure.log shows that the problem with the
headers is:

configure:9644: gcc -c -O   -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE
 -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4 -DMAX_POSITIVE_LOCK_OFFSET=0x1ff
LL conftest.c 5
In file included from configure:9622:
/usr/include/sys/socket.h:484: error: parse error before sendfile
/usr/include/sys/socket.h:484: error: parse error before bsize_t
/usr/include/sys/socket.h:486: error: parse error before sendpath
/usr/include/sys/socket.h:486: error: parse error before bsize_t
/usr/include/sys/socket.h:493: error: parse error before sendfile64
/usr/include/sys/socket.h:493: error: parse error before bsize64_t
/usr/include/sys/socket.h:495: error: parse error before sendpath64
/usr/include/sys/socket.h:495: error: parse error before bsize64_t
configure:9647: $? = 1
configure: failed program was:
#line 9617 configure

(that's just one instance of the headers failing -- if you want more,
lemme know and I'll make a big list for ya -- this error is also the
error I get if I run a make, and things go downhill from there...)

I read in one posting that you can't use the gcc compiler, but you
have to use the cc that comes with HP (course I read in another post
that you have to use an ANSI compiler, so you have to use gcc and
can't use the cc that comes with HP -- but I digress) -- so another
configure is run (on a whole new set of the source code to prevent any
confusion) -- but this time I use:

CC=/usr/ccs/bin/cc ./configure

which appears to work, as the first line of output is:
checking for gcc... /usr/ccs/bin/cc

and the configure goes on from there, right up until:

Using libraries:
LIBS = -lgen -lsec -lnsl 
AUTH_LIBS = 
checking configure summary... WARNING: No automated network interface
determination
ERROR: no seteuid method available
configure: error: summary failure. Aborting config

it seems like it gets 'so close', as this appears to about 20 lines
short of the 'successful' configure using 'gcc'


Please -- any help would be much appreciated -- I'm just about willing
to try anything to get the security gorillas off my back -- I've got
this build working on AIX 5.1 and 5.2 and Sun 8 and 9 -- it's just
this silly HP thing that I can't get finished...  I'm begging here --
please help!

grin

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


[Samba] winbind question - internal module error

2004-07-28 Thread Ben Kim

I have winbind 2.2.9 on solaris 8, sparc.
   

security = domain
winbind use default domain = yes
obey pam restrictions = yes
   

I'm getting this error in my /var/adm/messages.
   

pam_winbind[508]: [ID 637597 auth.error] internal module error (retval =
3, user = `someuser'
   

It's not affecting winbind functionality, winbind works fine, but I'm not
comfortable having the messages constantly logged.
   

Could anyone offer some advice?
   

   

Thanks.
   

Ben Kim


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


Re: [Samba] Characters

2004-07-28 Thread Bjoern JACKE
On 2004-07-28 at 12:02 +0100 Mario Gamito sent off:
I've already tried using unix charset = CP860 (860 is the portuguese
codepage) in smb.conf, but no good.
okay, I assume you have samba 3.0.x then. leave the default (UTF-8) 
here. Otherwise you will not be able to create arbitrary characters 
from your win* clients and you will run into problems sooner or 
later.


I've read the documentation, but got to no conclusion.
In short, i'd like to when a user saves a file, let's say olá.txt in a
Samba share, the file in the Linux filesystem is also called olá.txt
and not ol_?.txt or something messy alike.
A last info:
[EMAIL PROTECTED] home]# echo $LANG
en_US.ISO-8859-1
[EMAIL PROTECTED] home]#
switch to UTF-8 locale if possible. Then you will also see characters 
like á correctly on the server. You also need a mkisofs which has 
utf-8 support to create correct joliet images. Rockrigde does not care 
about the encoding of the filenames, as it is a POSIX-like filesystem 
extension. The version of mkisofs SUSE ships with 9.1 for example is 
patched to be able to handle utf8 as well for joliet image creation. 
Take a look at the manpage of mkisofs on how to specify the charset. 
Remember you also have to specify the correct iocharset when you 
*mount* joliet CD images. So even if you do not switch to UTF-8 
locales, you can tell mkisofs that the files are utf8 and can mount 
them as iso8859-1 later.

The quicker but less foresighted solution is to use unix charset = 
iso8859-1.

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


[Samba] Goodbye and thanks

2004-07-28 Thread Adam Buglass
As I come to the end of my current contract and this e-mail address will
in all probability be decommissioned shortly I will soon unsubscribe
from this list.

I just wanted to say thanks for the help and support I've recieved while
I've been using Samba.

-- 
Adam Buglass,  
The Golden Freeway.

Unit 1,
Wear Valley Business Centre,
27 Longfield Road,
South Church Enterprise Park,
Bishop Auckland.
DL14 6XB

(01388) 776444

http://www.thegoldenfreeway.com
http://www.golduk.net

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


Re: FW: [Samba] Samba printers print$

2004-07-28 Thread Kyle Miller
My [print$] section is pretty basic (I'm connecting as 'kyle', who is
also defined as a printer admin in global. Included global for
completeness, even though it's uninteresting.) :

[global]
workgroup = TESTGROUP
netbios name = KYLESMB
server string = Samba Server for Testing
log level = 4
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = No
printer admin = kyle
show add printer wizard = Yes


[print$]
comment = Print Driver Auto-Download
path = /etc/samba/drivers
write list = kyle
read only = Yes
browseable = No
guest ok = No

My /etc/drivers/samba looks like this. Only a W32X86 dir, since that's
the only platform on which I have clients.

[kyle]$ ls -al /etc/samba/drivers
total 12
drwxrwxrwt  3 root root 4096 Jul  7 13:42 .
drwxr-xr-x  3 root root 4096 Jul 12 15:11 ..
drwxrwxrwt  2 root root 4096 Jul  7 13:42 W32X86

Any thoughts?

Thanks,

Kyle


On Wed, 28 Jul 2004 05:37:21 -0400, Marcus White
[EMAIL PROTECTED] wrote:
 BTW... Did you create the directory list similar to this in your drivers
 directory?
 
 [print$]--+
   |--W32X86   # serves drivers to Windows NT x86
   |--WIN40# serves drivers to Windows 95/98
   |--W32ALPHA # serves drivers to Windows NT Alpha_AXP
   |--W32MIPS  # serves drivers to Windows NT R4000
   |--W32PPC   # serves drivers to Windows NT PowerPC
 
 
 
 Marcus O.
 
 On Tue, 2004-07-27 at 09:56, Kyle Miller wrote:
  For what it's worth, I too have the same problem, which I posted to
  the list about a few weeks ago (unfortunately no response). I was
  following the section of the HOWTO that you linked to below. I think
  it's possible that there is a missing step in the documentation. I can
  print to my printer just fine, but cannot upload the drivers using the
  APW, as documented in the howto, even though my permissions appear to
  be correct.
 
  If anyone might be able to shed some more light on it, I'd sure
  appreciate it. In my case, details are in my previous email to the
  list, or I can provide them again. Maybe we can find some similarity
  between my setup and this guy's setup that leads to the problem.
 
  Kyle
 
  Please check out this link:
  http://us1.samba.org/samba/docs/man/Samba-HOWTO-Collection/printing.html#id2550771
  
  HTH,
  
  Marcus O.
 

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


[Samba] Profile directories ignore directory mask

2004-07-28 Thread Joseph Mesterhazy
Hello,
We are running Samba 3.0.4 in ADS mode with winbind. We use roaming 
profiles, stored in the [homes] share for each user in a directory 
called .ntprofile. This same home directory is used for their UNIX 
account. For some reason, when windows creates the roaming profile 
directory (.ntprofile) it gets created with permissions 771. This is 
bad, because all of our users are members of the group 'users'. This 
means our users, when logged into any UNIX machine, can poke at and 
modify the contents of each others profiles.

We thought we had taken care of this with the 'directory mask' 
parameter. Indeed, if a user creates a new folder in their home 
directory from a windows machine, it gets the proper 711 permissions. 
However, for some reason, when windows creates the profile, it gets 771 
permissions.

Here is our [homes] directive:
[homes]
path = /export/home/%U
read only = no
browseable = no
create mask = 0711
directory mask = 0711
valid users = %U
profile acls = yes
hide files = /DESKTOP.INI/desktop.ini/Desktop.ini
dos filemode = yes
force security mode = 0200
Is there some way to make sure that when windows creates the profile, 
it gets 711 permissions instead of 771?

Thanks,
Joe
--
Joe Mesterhazy
ECpE UNIX Administrator
2101 Coover Hall, Iowa State University
Ames, IA 50011.  (515) 294-7359
http://www.mesterhazy.net/
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] problem setting permisions

2004-07-28 Thread lists
hi,
i'm running smaba 3.0.4 with share level user and domain logon.
as a first test i've created a direcotry using windows explorer. now i try 
to assing a group to this dir. when i click OK i get a messeage that tells 
me, that i'm not permited to do this. samba log shows:

== log.smbd ==
[2004/08/27 16:39:17, 1] smbd/service.c:make_connection_snum(619)
 pc48006 (10.10.48.6) connect to service daten initially as user root 
(uid=0, gid=0) (pid 13268)
[2004/08/27 16:39:17, 2] smbd/posix_acls.c:set_canon_ace_list(2415)
 set_canon_ace_list: sys_acl_set_file type file failed for file edv (Die 
Operation wird nicht unterstützt).

as you can see i should have permision to do that. any suggestions ?
--
Matthias Henze[EMAIL PROTECTED]
Use PGP!! http://www.mhcsoftware.de/MatthiasHenze.asc
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
MHC SoftWare GmbH  voice: +49-(0)9533-92006-0
Fichtera 17  fax: +49-(0)9533-92006-6
96274 Itzgrund/Germanye-Mail: [EMAIL PROTECTED]
- - - - - - - - - - - - - - - - - - - - - - - - - - - -


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

Re: [Samba] Samba, CUPS and Windows Printer Queue

2004-07-28 Thread Craig White
On Tue, 2004-07-27 at 11:22, Umberto Zanatta wrote:
 I've been experience by rpm compiled: you have to do rebuild samba
 from rpm source, 'cos it doesn't support cups.
 
 You should do:
 
 # ldd /usr/sbin/smbd
 
 if there isn't libcups.so.2 on screen, you have to do rebuild.
 

clearly not the issue...
# ldd /usr/sbin/smbd
libldap.so.2 = /usr/lib/libldap.so.2 (0xb75b3000)
liblber.so.2 = /usr/lib/liblber.so.2 (0xb75a8000)
libgssapi_krb5.so.2 = /usr/kerberos/lib/libgssapi_krb5.so.2
(0xb7595000)
libkrb5.so.3 = /usr/kerberos/lib/libkrb5.so.3 (0xb7537000)
libk5crypto.so.3 = /usr/kerberos/lib/libk5crypto.so.3
(0xb7526000)
libcom_err.so.3 = /usr/kerberos/lib/libcom_err.so.3
(0xb7524000)
libcups.so.2 = /usr/lib/libcups.so.2 (0xb750a000)
libssl.so.4 = /lib/libssl.so.4 (0xb74d6000)
libcrypto.so.4 = /lib/libcrypto.so.4 (0xb73e5000)
libnsl.so.1 = /lib/libnsl.so.1 (0xb73d)
libcrypt.so.1 = /lib/libcrypt.so.1 (0xb73a2000)
libpam.so.0 = /lib/libpam.so.0 (0xb739a000)
libattr.so.1 = /lib/libattr.so.1 (0xb7397000)
libacl.so.1 = /lib/libacl.so.1 (0xb7391000)
libresolv.so.2 = /lib/libresolv.so.2 (0xb737f000)
libdl.so.2 = /lib/libdl.so.2 (0xb737c000)
libpopt.so.0 = /usr/lib/libpopt.so.0 (0xb7373000)
libc.so.6 = /lib/tls/libc.so.6 (0xb723b000)
libsasl.so.7 = /usr/lib/libsasl.so.7 (0xb722f000)
libz.so.1 = /usr/lib/libz.so.1 (0xb7221000)
liblaus.so.1 = /lib/liblaus.so.1 (0xb721e000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0xb75eb000)
libgdbm.so.2 = /usr/lib/libgdbm.so.2 (0xb7216000)

It would seem that something changed perhaps it was the way Samba was
compiled by Red Hat packagers but I don't think so.

By default, cups 'retains' successful print jobs (at least on RH AS 3),
and these jobs remain in the spool for the printer - and can be deleted
by the user if they are sufficiently privileged to alter the queue.

Craig

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


[Samba] Re: Samba3 - LDAP - USRMGR.EXE

2004-07-28 Thread Jim C.
Post your add user script line from smb.conf
You might be missing a flag or something.
I tested it and if I add a user via USRMGR there is only a posix account 
in LDAP, but samba did not add the samba specific data to ldap. I only get 
an error like User not found
And I could not find any error in log.smbd.

--
-
| I can be reached on the following Instant Messenger services: |
|---|
| MSN: [EMAIL PROTECTED]  AIM: WyteLi0n  ICQ: 123291844 |
|---|
| Y!: j_c_llings   Jabber: [EMAIL PROTECTED]|
-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] recycle with samba 3.0.5

2004-07-28 Thread ricardoa

   Hello.

   Anybody here use the module recycle with samba version 3.0.5!?

   I use with 2.2.8a without problems.

   Is this.

-- 
  Ricardo A
FMUSP
  www.usp.br

 Linux Registered User # 291904

The box said Windows 95, Windows NT 4.0, or better;
So I install  ed GNU/Linux.


--
Esta mensagem foi verificada
pelo sistema de antivírus DIM e
acredita-se estar livre de Virus.
Virus data file v4381 created Jul 26 2004

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


[Samba] Upgrade question - please be gentle!

2004-07-28 Thread Hamish
Hello
I am planning to upgrade our production samba server (3.0.3pre2-SuSE on 
SuSE 9.0, kernel 2.6.5-10) tonight to 3.0.5. Is there anything I should 
know about things breaking during this upgrade? I will just do it with 
`rpm -Uvh --repackage samba*` - I have tried this on a test server and 
it seems to work ok, but if anyone has some info that might be useful I 
would be grateful!

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


Re: [Samba] recycle with samba 3.0.5

2004-07-28 Thread Holger Krull
   Anybody here use the module recycle with samba version 3.0.5!?
   I use with 2.2.8a without problems.
   Is this.
I use it. Works fine. testparam goes crazy if it hits the recycle options in 3.0.5.
It isn't a separate module anymore.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] XP Pro timeout

2004-07-28 Thread Lane Beneke
Windows XP Pro clients are timing out when attempting to use either a file
or printer share on my Samba 3.0.5 server.

Any graphical application will fall into a seemingly endless timeout when
attempting to access the Samba server.  Print jobs will stay in the XP print
queue for as much as 1/2 hour, and then print normally.  The odd thing is
that access from any non-graphical application (cmd.exe) on the XP clients
is instantaneous.

Two XP Pro workstations (version 2002, SP1) are exhibiting this behaviour.
The rest of the company (Win2k, Win98, Win95, WinNT) is working fine.  There
are no other XP workstations on the network.

The Samba server was upgraded from 2.2.8a last Friday.  The upgrade worked
fine for two working days before this problem showing up today.

Included below are many of the specifics of my installation, and current log
file excerpts for your scrutiny.

Thanks in advance for any help you may provide.

Lane Beneke; IT Manager
Stephenson Millwork Co., Inc.

- THE PLAYERS -
Problem Clients - Windows XP Pro Version 2002 SP1
PDC - Windows NT Server Version 4.0 SP6
File Server - Linux 2.4.24 w/Samba 3.0.5

- RECENT EVENTS -
5 days ago - Samba upgraded from 2.2.8a to 3.0.5
Yesterday - Everything working fine, including XP clients
Today - Several reboots of XP clients

- LOG.SMBD LOG FILE -
[2004/07/28 09:48:46, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected

- CLIENT LOG FILE -
[2004/07/28 09:20:20, 1] smbd/service.c:make_connection_snum(619)
  smc158 (192.168.42.109) connect to service WorkOrder3 initially as user
rick (uid=1026, gid=100) (pid 28420)
[2004/07/28 09:21:13, 1] smbd/service.c:close_cnum(801)
  smc158 (192.168.42.109) closed connection to service WorkOrder3
[2004/07/28 09:32:05, 1] smbd/service.c:close_cnum(801)
  smc158 (192.168.42.109) closed connection to service estimating
[2004/07/28 09:32:13, 1] smbd/service.c:close_cnum(801)
  smc158 (192.168.42.109) closed connection to service rick
[2004/07/28 09:32:13, 1] smbd/service.c:close_cnum(801)
  smc158 (192.168.42.109) closed connection to service common
[2004/07/28 09:37:13, 0] lib/util_sock.c:get_peer_addr(978)
  getpeername failed. Error was Transport endpoint is not connected
[2004/07/28 09:37:13, 0] lib/util_sock.c:write_socket_data(413)
  write_socket_data: write failure. Error = Connection reset by peer
[2004/07/28 09:37:13, 0] lib/util_sock.c:write_socket(438)
  write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection reset
by peer
[2004/07/28 09:37:13, 0] lib/util_sock.c:send_smb(630)
  Error writing 4 bytes to client. -1. (Connection reset by peer)
[2004/07/28 09:37:13, 1] smbd/service.c:make_connection_snum(619)
  smc158 (192.168.42.109) connect to service rick initially as user rick
(uid=1026, gid=100) (pid 30492)
[2004/07/28 09:37:15, 1] smbd/service.c:make_connection_snum(619)
  smc158 (192.168.42.109) connect to service estimating initially as user
rick (uid=1026, gid=100) (pid 30492)


- SAMBA CONFIGURATION FILE -
# Samba config file created using SWAT
# from 192.168.42.108 (192.168.42.108)
# Date: 2004/07/23 21:56:29

# Global parameters
[global]
workgroup = DOMAIN
netbios name = SERVER-BACKUP
server string = Backup Server
security = DOMAIN
update encrypted = Yes
null passwords = Yes
password server = server
passwd program = /usr/bin/passwd %u
passwd chat = *New\sUNIX\spassword:*
%n\n*Retype\snew\sUNIX\spassword:* %n\n .
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
time server = Yes
socket options = IPTOS_LOWDELAY TCP_NODELAY
add user script = /usr/sbin/useradd -d /home/%u -g 100 -m %u ;
smbpasswd -a %u 
preferred master = No
local master = No
domain master = No
dns proxy = No
wins server = 192.168.42.250
idmap uid = 1-10999
idmap gid = 11000-11999
invalid users = root
printer admin = root, Administrator, lane
create mask = 0770
hosts allow = 192.168.42
hosts deny = 192.168.42.254

[homes]
comment = Home Directories
read only = No
veto files = /Maildir/
browseable = No

[common]
comment = Open Share (G: Drive)
path = /home/samba/common
read only = No
create mask = 0777
directory mask = 0777
guest ok = Yes

[print$]
comment = Point-n-Print Drivers
path = /var/cache/samba/print
invalid users =
admin users = lane
write list = root, Administrator, lane
create mask = 0774
guest ok = Yes

[pplabels]
comment = Used only by DOS version of Product Planner
path = /tmp
printable = Yes
printing = lprng
print command = /usr/bin/pplabels %s %U %J 

[print2pdf]

[Samba] Samba 3.0.5 Install Problem

2004-07-28 Thread John Hartman




I am trying to configure 3.0.5 with AFS but the process ends because it
can't find afs.h.  I look in the source/include dir and there is no afs.h.
Is this file somewhere else?

Phone: Int. 8-295-1833 Ext. 845-435-1833, FAX 845-433-9901
Internet: [EMAIL PROTECTED]
Dept: ZKSA
IBM PLM Technical Support  -  Americas
Mail Drop P540
Industry Products Division
IBM
2455 South Road
Poughkeepsie NY 12601

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


Re: [Samba] Samba 3.0.5 Install Problem

2004-07-28 Thread Paul Gienger
You may want to include more information when asking a question so you 
can get a better response (or any at all) since most people disregard 
badly formed questions to get to the people they CAN help...

Information to include in this situation: OS, configure line, perhaps a 
good chunk of the ./configure output.  All of it if it's short, a couple 
dozen lines maybe if it is long.

John Hartman wrote:

I am trying to configure 3.0.5 with AFS but the process ends because it
can't find afs.h.  I look in the source/include dir and there is no afs.h.
Is this file somewhere else?
Phone: Int. 8-295-1833 Ext. 845-435-1833, FAX 845-433-9901
Internet: [EMAIL PROTECTED]
Dept: ZKSA
IBM PLM Technical Support  -  Americas
Mail Drop P540
Industry Products Division
IBM
2455 South Road
Poughkeepsie NY 12601
 

--
Paul Gienger Office: 701-281-1884
Applied Engineering Inc. 
Information Systems Consultant   Fax:701-281-1322
URL: www.ae-solutions.commailto: [EMAIL PROTECTED]

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


[Samba] 3.0.4 on Solaris 8 - fcntl(F_SETLK64)

2004-07-28 Thread Brian Ford
We upgraded from 2.2.5 to 3.0.4 last week and ever since have been running
into a deadlock condition that causes clients to hang for extended
periods; all trying to get a write lock on locking.tdb.  I have been
dilligently googling to find the solution and have thus far been
unsuccessful.  My kernel rev is 108528-29, so I think I'm ok there.  Does
anyone have any ideas?

All I can think of is that I have a gcc install that I used to build samba
from before the kernel patch and gcc fixed a crucial header that changed
with the 108528-19 patch?

I had to revert today to keep our users from killing me ;-).  Please let
me know what technical info I can provide to track this down.  I'm pretty
handy with gdb, truss, etc.  Thanks.

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Building Samba 3.0.5 on HP-UX 11.11

2004-07-28 Thread Ryan Novosielski
Are you doing this configure as root? I believe you must if you want that 
particular part to work properly.

 _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin 
|$| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent. | IST/ACS - NJMS Medical Science Bldg - C630

On Wed, 28 Jul 2004, topher wrote:
First -- to avoid the common answers to the 'building on HP-UX'
questions that seem to be available on the list and the web:
1) using the depot from the Porting Center won't work, it's well
downrev of 3.0.5 and I need to get the new security fixes (so that the
security team will go back into it's dark dank den and fear not for
the security of our environment)
2) samba.org only has a 3.0.4a binary package for HP-UX -- so again,
no security fixes
as such, I'm trying to build 3.0.5 on HP-UX 11.11 -- and I'm running
into the same problem I pretty much always seem to run into:
if I use gcc (gcc 3.3.2 off the porting center), configure runs
through with several errors that look like:
configure: WARNING: foo/bar.h: present but cannot be compiled
configure: WARNING: foo/bar.h: check for missing prerequisite headers?
configure: WARNING: foo/bar.h: proceeding with the preprocessor's result
where foo and bar are any of about a dozen different headers...  I
suspect that if I could find a solution to this one, then I'd be able
to get somewhere -- the configure.log shows that the problem with the
headers is:
configure:9644: gcc -c -O   -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE
-D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4 -DMAX_POSITIVE_LOCK_OFFSET=0x1ff
LL conftest.c 5
In file included from configure:9622:
/usr/include/sys/socket.h:484: error: parse error before sendfile
/usr/include/sys/socket.h:484: error: parse error before bsize_t
/usr/include/sys/socket.h:486: error: parse error before sendpath
/usr/include/sys/socket.h:486: error: parse error before bsize_t
/usr/include/sys/socket.h:493: error: parse error before sendfile64
/usr/include/sys/socket.h:493: error: parse error before bsize64_t
/usr/include/sys/socket.h:495: error: parse error before sendpath64
/usr/include/sys/socket.h:495: error: parse error before bsize64_t
configure:9647: $? = 1
configure: failed program was:
#line 9617 configure
(that's just one instance of the headers failing -- if you want more,
lemme know and I'll make a big list for ya -- this error is also the
error I get if I run a make, and things go downhill from there...)
I read in one posting that you can't use the gcc compiler, but you
have to use the cc that comes with HP (course I read in another post
that you have to use an ANSI compiler, so you have to use gcc and
can't use the cc that comes with HP -- but I digress) -- so another
configure is run (on a whole new set of the source code to prevent any
confusion) -- but this time I use:
CC=/usr/ccs/bin/cc ./configure
which appears to work, as the first line of output is:
checking for gcc... /usr/ccs/bin/cc
and the configure goes on from there, right up until:
Using libraries:
   LIBS = -lgen -lsec -lnsl
   AUTH_LIBS =
checking configure summary... WARNING: No automated network interface
determination
ERROR: no seteuid method available
configure: error: summary failure. Aborting config
it seems like it gets 'so close', as this appears to about 20 lines
short of the 'successful' configure using 'gcc'
Please -- any help would be much appreciated -- I'm just about willing
to try anything to get the security gorillas off my back -- I've got
this build working on AIX 5.1 and 5.2 and Sun 8 and 9 -- it's just
this silly HP thing that I can't get finished...  I'm begging here --
please help!
grin
toph
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Re: Request for sample qmailGroup ldif: LDAP attribute is not given b ut mandatory. (#5.3.5) error

2004-07-28 Thread Malte Woelky
Hallo,

you have to add the qmailUser - objectClass and the corresponding
attributes to the entry, qmailGroup is an derieved objectClass from qmailUser.


Yours
Malte

Wednesday, July 28, 2004, 2:54:33 PM, you wrote:

KA I would like to create email groups under a qmail-ldap installation. I
KA created a sample group [EMAIL PROTECTED] in which I wanted
KA [EMAIL PROTECTED] and [EMAIL PROTECTED] to receive a copy of mail sent
KA to [EMAIL PROTECTED], I created an ldif for the test group and
KA tried sending mail to it but I got an error.

KA The sample ldif.

KA dn:
KA [EMAIL PROTECTED],ou=mysampledomain.com,ou=organisations,dc
KA =mysampledomain,dc=com
KA cn: Test
KA sn: Group
KA objectClass: top
KA objectClass: person
KA objectClass: qmailGroup
KA mail: [EMAIL PROTECTED]
KA mailAlternateAddress: [EMAIL PROTECTED]
KA mailAlternateAddress: [EMAIL PROTECTED]
KA mailMessageStore: [EMAIL PROTECTED]/testgroup2
KA filtermember: ((objectclass=qmailGroup)([EMAIL PROTECTED]))


KA The error.

KA When I do a  tail -f /var/log/qmail/current|tai64nlocal I see the error
KA LDAP_attribute_is_not_given_but_mandatory._(#5.3.5)



KA And I receive an email reading

KA Hi. This is the qmail-send program at arccnet.com.
KA I'm afraid I wasn't able to deliver your message to the following addresses.
KA This is a permanent error; I've given up. Sorry it didn't work out.

KA testgroup2@ mysampledomain.com :
KA LDAP attribute is not given but mandatory. (#5.3.5)

KA --- Below this line is a copy of the message.


KA What attributes am I missing or what errors/omissions are there in my ldif.



KA Allan.



-- 
Best regards,
 Maltemailto:[EMAIL PROTECTED]

Malte Woelky -=[SkyNet]=- 
Unix/DBs/Networks/LDAP/Active Directory 
Cert  : MCSA 2000+2003, MCSA:msg, MCSE 2000+2003
voice : 0209/977 37 03 : 0173/90 32 167 
eMail : [EMAIL PROTECTED] 
WWW : http://www.woelky.net/ 
_ ICQ# 12 767 43 99 _


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


[Samba] Fwd: Building Samba 3.0.5 on HP-UX 11.11

2004-07-28 Thread topher
got a couple of requests for further information -- so here's an update:

yes, I've done the configure and make as root and as a regular user,
things die with either compiler in the same place I'm afraid

yes, I've run 'autoconf' before running configure, and the only
difference I've seen is that the errors during configure get more
'stuff' wrapped around them to make them more apparent...  the errors
in the log are the same --

here is the exact error message I get during make using gcc:

Compiling dynconfig.c
In file included from include/includes.h:109,
 from dynconfig.c:21:
/usr/include/sys/socket.h:484: error: parse error before sendfile
/usr/include/sys/socket.h:484: error: parse error before bsize_t
/usr/include/sys/socket.h:486: error: parse error before sendpath
/usr/include/sys/socket.h:486: error: parse error before bsize_t
/usr/include/sys/socket.h:493: error: parse error before sendfile64
/usr/include/sys/socket.h:493: error: parse error before bsize64_t
/usr/include/sys/socket.h:495: error: parse error before sendpath64
/usr/include/sys/socket.h:495: error: parse error before bsize64_t
In file included from /usr/include/sys/mp.h:55,
 from /usr/include/sys/malloc.h:59,
 from /usr/include/net/netmp.h:53,
 from /usr/include/net/if.h:59,
 from include/includes.h:275,
 from dynconfig.c:21:
/usr/include/machine/sys/setjmp.h:45: error: redefinition of `struct label_t'
In file included from dynconfig.c:21:
include/includes.h:495: error: conflicting types for `socklen_t'
/usr/include/sys/socket.h:199: error: previous declaration of `socklen_t'
make: *** [dynconfig.o] Error 1


any other thoughts/suggestions are appreciated and MORE than welcome!

toph

-- Forwarded message --
From: topher [EMAIL PROTECTED]
Date: Wed, 28 Jul 2004 09:32:06 -0400
Subject: Building Samba 3.0.5 on HP-UX 11.11
To: [EMAIL PROTECTED]

First -- to avoid the common answers to the 'building on HP-UX'
questions that seem to be available on the list and the web:

1) using the depot from the Porting Center won't work, it's well
downrev of 3.0.5 and I need to get the new security fixes (so that the
security team will go back into it's dark dank den and fear not for
the security of our environment)

2) samba.org only has a 3.0.4a binary package for HP-UX -- so again,
no security fixes

as such, I'm trying to build 3.0.5 on HP-UX 11.11 -- and I'm running
into the same problem I pretty much always seem to run into:

if I use gcc (gcc 3.3.2 off the porting center), configure runs
through with several errors that look like:

configure: WARNING: foo/bar.h: present but cannot be compiled
configure: WARNING: foo/bar.h: check for missing prerequisite headers?
configure: WARNING: foo/bar.h: proceeding with the preprocessor's result

where foo and bar are any of about a dozen different headers...  I
suspect that if I could find a solution to this one, then I'd be able
to get somewhere -- the configure.log shows that the problem with the
headers is:

configure:9644: gcc -c -O   -D_HPUX_SOURCE -D_POSIX_SOURCE -D_LARGEFILE64_SOURCE
 -D_ALIGNMENT_REQUIRED=1 -D_MAX_ALIGNMENT=4 -DMAX_POSITIVE_LOCK_OFFSET=0x1ff
LL conftest.c 5
In file included from configure:9622:
/usr/include/sys/socket.h:484: error: parse error before sendfile
/usr/include/sys/socket.h:484: error: parse error before bsize_t
/usr/include/sys/socket.h:486: error: parse error before sendpath
/usr/include/sys/socket.h:486: error: parse error before bsize_t
/usr/include/sys/socket.h:493: error: parse error before sendfile64
/usr/include/sys/socket.h:493: error: parse error before bsize64_t
/usr/include/sys/socket.h:495: error: parse error before sendpath64
/usr/include/sys/socket.h:495: error: parse error before bsize64_t
configure:9647: $? = 1
configure: failed program was:
#line 9617 configure

(that's just one instance of the headers failing -- if you want more,
lemme know and I'll make a big list for ya -- this error is also the
error I get if I run a make, and things go downhill from there...)

I read in one posting that you can't use the gcc compiler, but you
have to use the cc that comes with HP (course I read in another post
that you have to use an ANSI compiler, so you have to use gcc and
can't use the cc that comes with HP -- but I digress) -- so another
configure is run (on a whole new set of the source code to prevent any
confusion) -- but this time I use:

CC=/usr/ccs/bin/cc ./configure

which appears to work, as the first line of output is:
checking for gcc... /usr/ccs/bin/cc

and the configure goes on from there, right up until:

Using libraries:
LIBS = -lgen -lsec -lnsl
AUTH_LIBS =
checking configure summary... WARNING: No automated network interface
determination
ERROR: no seteuid method available
configure: error: summary failure. Aborting config

it seems like it gets 'so close', as this appears to about 20 lines
short of the 'successful' 

Re: [Samba] Re: Request for sample qmailGroup ldif: LDAP attribute is not given b ut mandatory. (#5.3.5) error

2004-07-28 Thread Malte Woelky
Sorry, wrong list!!!

-- 
Best regards,
 Maltemailto:[EMAIL PROTECTED]

Malte Woelky -=[SkyNet]=- 
Unix/DBs/Networks/LDAP/Active Directory 
Cert  : MCSA 2000+2003, MCSA:msg, MCSE 2000+2003
voice : 0209/977 37 03 : 0173/90 32 167 
eMail : [EMAIL PROTECTED] 
WWW : http://www.woelky.net/ 
_ ICQ# 12 767 43 99 _


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


[Samba] (no subject)

2004-07-28 Thread Proteus (Anton)
How long am I still going to wait to be unsubscribed?

I've been trying for at least 3 months now!
If, as I suspect your server is running on Linux, I start getting a bad feeling about 
either the OS or your professionalism

GET ME OFF THE FUCKING LIST!
please
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Notification

2004-07-28 Thread Spamserver
* eManager Notification **

Recipient, Content filter has detected a sensitive e-mail.

Source mailbox: [EMAIL PROTECTED]
Destination mailbox(es): [EMAIL PROTECTED]

*** End of message ***
Received: from 208.8.92.60 by jupiter.INSIDEAI.COM (InterScan E-Mail VirusWall NT); 
Wed, 28 Jul 2004 13:40:01 -0400
Received: from lists.samba.org ([66.70.73.150]) by viruswall.ai-logix.com
  (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35)
  with ESMTP id com for [EMAIL PROTECTED];
  Wed, 28 Jul 2004 13:39:47 -0400
Received: from dp.samba.org (localhost [127.0.0.1])
by lists.samba.org (Postfix) with ESMTP id 1EDE4163A79
for [EMAIL PROTECTED]; Wed, 28 Jul 2004 17:39:47 + (GMT)
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from ctb-mesg4.saix.net (ctb-mesg4.saix.net [196.25.240.76])
by lists.samba.org (Postfix) with ESMTP id 197DF162BD9
for [EMAIL PROTECTED]; Wed, 28 Jul 2004 17:39:07 + (GMT)
Received: from mail.proteus.co.za (rrba-167-160.telkomadsl.co.za
[165.165.167.160])
by ctb-mesg4.saix.net (Postfix) with ESMTP id 6A305B82D
for [EMAIL PROTECTED]; Wed, 28 Jul 2004 19:39:04 +0200 (SAST)
Received: from Anton (anton [192.168.0.193])
by mail.proteus.co.za (8.12.10/8.12.10) with SMTP id i6SHcpYm031713
for [EMAIL PROTECTED]; Wed, 28 Jul 2004 19:38:56 +0200
Message-ID: [EMAIL PROTECTED]
From: Proteus (Anton) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Wed, 28 Jul 2004 19:38:53 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Scanned-By: MIMEDefang 2.39
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on dp.samba.org
X-Spam-Status: No, hits=2.0 required=3.8 tests=BAYES_50,HTML_MESSAGE,
RCVD_IN_BLARS_RBL autolearn=no version=2.63
X-Spam-Level: **
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.4
Subject: [Samba] (no subject)
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: General questions regarding Samba samba.lists.samba.org
List-Unsubscribe: http://lists.samba.org/mailman/listinfo/samba,
mailto:[EMAIL PROTECTED]
List-Archive: http://lists.samba.org/archive/samba
List-Post: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Subscribe: http://lists.samba.org/mailman/listinfo/samba,
mailto:[EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Notification

2004-07-28 Thread Spamserver
* eManager Notification **

Recipient, Content filter has detected a sensitive e-mail.

Source mailbox: [EMAIL PROTECTED]
Destination mailbox(es): [EMAIL PROTECTED]

*** End of message ***
Received: from 208.8.92.60 by jupiter.INSIDEAI.COM (InterScan E-Mail VirusWall NT); 
Wed, 28 Jul 2004 13:40:36 -0400
Received: from lists.samba.org ([66.70.73.150]) by viruswall.ai-logix.com
  (Post.Office MTA v3.5.3 release 223 ID# 0-0U10L2S100V35)
  with ESMTP id com for [EMAIL PROTECTED];
  Wed, 28 Jul 2004 13:40:22 -0400
Received: from dp.samba.org (localhost [127.0.0.1])
by lists.samba.org (Postfix) with ESMTP id 81A8916384B
for [EMAIL PROTECTED]; Wed, 28 Jul 2004 17:40:21 + (GMT)
X-Original-To: [EMAIL PROTECTED]
Delivered-To: [EMAIL PROTECTED]
Received: from ctb-mesg4.saix.net (ctb-mesg4.saix.net [196.25.240.76])
by lists.samba.org (Postfix) with ESMTP id 197DF162BD9
for [EMAIL PROTECTED]; Wed, 28 Jul 2004 17:39:07 + (GMT)
Received: from mail.proteus.co.za (rrba-167-160.telkomadsl.co.za
[165.165.167.160])
by ctb-mesg4.saix.net (Postfix) with ESMTP id 6A305B82D
for [EMAIL PROTECTED]; Wed, 28 Jul 2004 19:39:04 +0200 (SAST)
Received: from Anton (anton [192.168.0.193])
by mail.proteus.co.za (8.12.10/8.12.10) with SMTP id i6SHcpYm031713
for [EMAIL PROTECTED]; Wed, 28 Jul 2004 19:38:56 +0200
Message-ID: [EMAIL PROTECTED]
From: Proteus (Anton) [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Date: Wed, 28 Jul 2004 19:38:53 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2800.1437
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
X-Scanned-By: MIMEDefang 2.39
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on dp.samba.org
X-Spam-Status: No, hits=2.0 required=3.8 tests=BAYES_50,HTML_MESSAGE,
RCVD_IN_BLARS_RBL autolearn=no version=2.63
X-Spam-Level: **
Content-Type: text/plain;
charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
X-Content-Filtered-By: Mailman/MimeDel 2.1.4
Subject: [Samba] (no subject)
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.1.4
Precedence: list
List-Id: General questions regarding Samba samba.lists.samba.org
List-Unsubscribe: http://lists.samba.org/mailman/listinfo/samba,
mailto:[EMAIL PROTECTED]
List-Archive: http://lists.samba.org/archive/samba
List-Post: mailto:[EMAIL PROTECTED]
List-Help: mailto:[EMAIL PROTECTED]
List-Subscribe: http://lists.samba.org/mailman/listinfo/samba,
mailto:[EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] (no subject)

2004-07-28 Thread Andrew Gaffney
Proteus (Anton) wrote:
How long am I still going to wait to be unsubscribed?
I've been trying for at least 3 months now!
If, as I suspect your server is running on Linux, I start getting a bad feeling about 
either the OS or your professionalism
Did you follow the directions at the bottom of every email posted to this list? 
Go to http://lists.samba.org/mailman/listinfo/samba, enter your subscribed 
email address in the text box at the bottom of the page and hit the button. 
Click the 'Unsubscribe' button on the next page. Reply to the email that is sent 
to you.

--
Andrew Gaffney
Network Administrator
Skyline Aeronautics, LLC.
636-357-1548
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Joining Linux to Windows 2000 domain

2004-07-28 Thread Tim Barone
Hello,  I am new to Linux, Samba, and actually servers in general.  I am 
attempting to set up a Linux file server and join it to a Windows 2000 
domain.  All I want to be able to do is get files from the linux file server 
and put files on it.  I do not want it to be the domain controller.

I join the domain using:  net join -S 10.10.10.40 -UAdministrator%password
It tells me that I have joined the domain.
wbinfo -t   wbinfo -p   work fine!
Wbinfo -u gives me: Error looking up domain members
Wbinfo -g gives me: Error looking up domain groups
Any ideas on what to do?
Thanks a bunch!
Linux is Fedora Core 1
Samba is 3.0
smb.conf file:
[global]
workgroup = EIIECOMM
netbios name = e2efileserver1
realm = EIIECOMM.COM
idmap uid = 1 - 15000
idmap gid = 1 - 15000
winbind separator = +
winbind use default domain = Yes
use sendfile = Yes
server string= Samba Server
printcap anme = /etc/printer
load printers = yes
log file = /var/log/samba/%m.log
max log size = 50
security = domain
password server = *
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = no
os level = 33
wins support = no
wins server = 10.10.10.40 (I'm not sure this is a wins server)
dns proxy = no
[homes]
comment = Home Directories
valid users = %S
browseable = yes
writeable = yes
[tmp]
comment = Temporary file space
path = /tmp
writeable = yes
guest ok = yes
[public]
comment = Data
path = /export/public
public = yes
writeable = yes
_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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


Re: [Samba] recycle with samba 3.0.5

2004-07-28 Thread Ricardo A.
Holger Krull wrote:
   Anybody here use the module recycle with samba version 3.0.5!?
   I use with 2.2.8a without problems.
   Is this.

I use it. Works fine. testparam goes crazy if it hits the recycle 
options in 3.0.5.
It isn't a separate module anymore.

   Hi Holger,
   Look my smb.conf about recycle:
   ;recyclebin options
  recycle:exclude = *.tmp *.temp *.o *.obj ~$*
  recycle:keeptree = True
  recycle:touch = True
  recycle:versions = True
  recycle:noversions = .doc|.xls|.ppt
  recycle:repository = /home/trash
  recycle:maxsize = 1000
  create mask = 0777
  directory mask = 0777
  vfs objects = recycle
[homes]
  comment = Home Directories
  read only = No
  browseable = No
  path = /home/%u
  create mask = 0750
  vfs options = /etc/samba/recycle.conf
  vfs object = /etc/samba/recycle.so
  
  Now, result of testparm:

  # testparm
Load smb config files from /etc/samba/smb.conf
Processing section [homes]
Unknown parameter encountered: vfs options
Ignoring unknown parameter vfs options
  But, in compilation, don't have any erros.
  Can you send me the pass how to you configure a recycle in samba 
3.0.5!?

  Thank you so much
   Ricardo A. 
  

--
Ricardo A
   Analista de Suporte
   www.usp.br/fm
Linux Registered User # 291904
The box said Windows XP, Windows NT, or better.
So I installed GNU/Linux.
--
Esta mensagem foi verificada
pelo sistema de antivírus DIM e
acredita-se estar livre de Virus.
Virus data file v4381 created Jul 26 2004
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1 workstation

2004-07-28 Thread Umberto Zanatta
You should try set

logon path =

u.


Il mer, 2004-07-28 alle 15:09, [EMAIL PROTECTED] ha scritto:

 It becomes VERY weird... 
 
 This afternoon I witnessed the following : the user logged on to his pc; 
 accessed his home directory on the PDC; no problema; accessed another 
 share on the PDC; no problema; accessed a share on the BDC : connection 
 refused. Going back to the PDC to access the home directory : connection 
 refused. 
 
 However; there were NO error entries in the logs on either Samba server. 
 Only entries like these :
 [2004/07/28 13:29:38, 1] smbd/service.c:make_connection_snum(619)
   allier (192.168.0.190) connect to service cvs initially as user mschijva 
 (uid=1015, gid=100) (pid 22284)
 
 I'm completely lost now
 
 
 Bert De Ridder
 
 
 
 
 Arno Seidel [EMAIL PROTECTED] 
 Sent by: [EMAIL PROTECTED]
 28/07/2004 11:24
 Please respond to
 [EMAIL PROTECTED]
 
 
 To
 [EMAIL PROTECTED]
 cc
 [EMAIL PROTECTED]
 Subject
 AW: AW: AW: AW: [Samba] Samba - LDAP - User cannot  loginfrom   1 
 workstation
 
 
 
 
 
 
 Hi,
 
 what os does the client have? W98?
 
 in the system-controll folder there should be a icon (in german called
 Verwaltung) whre the local policies , the settings for odbc ...and mor
 are... there should be also an icon called
 eventmanager / display... maybe there is a log entry?
 
 Did you see some errrors on the samba side (instead of the connection 
 reset
 by peer) if you try a higher debug-/log-level?
 
 the other way is, that you back-up the users home-directory, and his
 roaming-profile and completely remove him and (from windows / ldap / samba
 ...) and readd him as a new
 user with a empty home and profile-directory... and then just put the
 saved-files (from the profile / homedirectory in the new created profile /
 home-directory in.
 it could be that there are some settings in the profile are wrong.
 
 
 
 
  -Ursprungliche Nachricht-
 Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Gesendet: Mittwoch, 28. Juli 2004 08:23
 An: [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Betreff: Re: AW: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
 workstation
 
 
 
   Yes, I have checked the LDAP entry; I even recreated it; I tried the
 user/pwd on 3 other machines : 2000 Prof. Wks; 2000 Server and XP Prof.
   The local permissions on the machine are OK; I can add the domain user 
 to
 the local admin. group, so that should be ok.
 
   I agree that it is not a server-side issue; but where on the client can 
 I
 start searching for errors ?
 
 
   Regards,
 
   Bert De Ridder
 
   PeopleWare NV - Head Office
   Cdt.Weynsstraat 85
   B-2660 Hoboken
   Tel: +32 3 448.33.38
   Fax: +32 3 448.32.66
 
   PeopleWare NV - Branch Office Geel
   Kleinhoefstraat 5
   B-2440 Geel
   Tel: +32 14 57.00.90
   Fax: +32 14 58.13.25
 
   http://www.peopleware.be
   http://www.mobileware.be
 
 
 Arno Seidel [EMAIL PROTECTED]
 Sent by: 
 [EMAIL PROTECTED]
 27/07/2004 17:56 Please respond to
   [EMAIL PROTECTED]
 
 
To [EMAIL PROTECTED]
   cc
   Subject AW: AW: AW: [Samba] Samba - LDAP - User cannot
 loginfrom1workstation
 
 
 
 
 
 
 
   Hi,
 
   did you check the ldap-entry for that user?? maybe there is a mistake...
   are the other workstations you tried w2k too?
   are the local permissions on the workstation for that user correct???
   maybe there is a local-policy...
   maybe there is a user-workstation entry in the ldapaccount...
 
   i don?t think that it has something to do with the configuration of the
   samba /ldap servers, because other pc?s on the same segment have no
   problems.
 
 
-Ursprungliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag 
 von
[EMAIL PROTECTED]
Gesendet: Dienstag, 27. Juli 2004 16:51
An: Umberto Zanatta
Cc: [EMAIL PROTECTED]
Betreff: Re: AW: AW: [Samba] Samba - LDAP - User cannot loginfrom 1
workstation
   
   
Yes, but I hadn't included that in my previous post; I tried to trim 
 the
message
   
winbind uid = 100-2
winbind gid = 100-2
winbind separator = +
winbind use default domain = Yes
   
I am not using password server, because i want Samba to think it's on
 the
same server; however the LDAP on that server is a slave, so updates 
 are
sent to our master LDAP server. (and back to the slave via the
 replicator
off course)
   
I can use the shares via smbclient on the server; I really don't think
there is an error on the server; since everything works when changing
 all
other conditions (switch pc or another user on that pc); it's just 
 that
one user when working on that one machine.
   
   
Bert De Ridder
   
   
   
   
   
Umberto Zanatta [EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]
27/07/2004 15:28
   
To
[EMAIL PROTECTED]
cc
[EMAIL PROTECTED]
Subject
Re: AW: AW: [Samba] Samba - 

[Samba] Upgrade question

2004-07-28 Thread Ron Dhillon
Hi:
I want to upgrade a Fedora Core 1 Linux machine that is running Samba 
3.0.2a to 3.0.5.  Initially, I compiled the 3.0.2a source, with 
defaults, and installed.  The installation resides in /usr/local/samba.

Can I download the 3.0.5 source, compile and install without breaking 
anything?  Will the configuration be broken?  Does anyone know a way to 
do this cleanly?

Anyone's help is greatly appreciated.
Ron
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] More than 10 trusts

2004-07-28 Thread José Rafael
Somebody uses a server like member server of a domain with more than
10 interdomain trusts?

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


[Samba] RE: XP Pro timeout; we have a winner - webclient service

2004-07-28 Thread Lane Beneke
Thanks to Jason Balicki for the correct fix to this problem.

The 'webclient' service in Windows XP, somehow interferes with access to the
Samba server.  With the service stopped and disabled, the clients are
working again.

Lane Beneke; IT Manager
Stephenson Millwork Co., Inc.

-Original Message-
From: Lane Beneke [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 12:42 PM
To: '[EMAIL PROTECTED]'
Subject: XP Pro timeout


Windows XP Pro clients are timing out when attempting to use either a file
or printer share on my Samba 3.0.5 server.

Any graphical application will fall into a seemingly endless timeout when
attempting to access the Samba server.  Print jobs will stay in the XP print
queue for as much as 1/2 hour, and then print normally.  The odd thing is
that access from any non-graphical application (cmd.exe) on the XP clients
is instantaneous.

Two XP Pro workstations (version 2002, SP1) are exhibiting this behaviour.
The rest of the company (Win2k, Win98, Win95, WinNT) is working fine.  There
are no other XP workstations on the network.

The Samba server was upgraded from 2.2.8a last Friday.  The upgrade worked
fine for two working days before this problem showing up today.

Included below are many of the specifics of my installation, and current log
file excerpts for your scrutiny.

Thanks in advance for any help you may provide.

Lane Beneke; IT Manager
Stephenson Millwork Co., Inc.

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


Re: [Samba] recycle with samba 3.0.5

2004-07-28 Thread Holger Krull

  vfs options = /etc/samba/recycle.conf
  vfs object = /etc/samba/recycle.so
Here is your problem, there is no recycle.so and recycle.conf any more, it is just
   vfs objects = recycle
My options are: 
   recycle:keeptree = Yes
   recycle:repository = .Papierkorb/%U
   recycle:noversions = *.doc|*.xls|*.ppt
   recycle:excludedir = /tmp|/temp|/cache
   recycle:exclude = *.tmp|*.temp|*.o|*.obj|~$*|*.~??
   recycle:maxsize = 0
   recycle:versions = Yes
   recycle:touch = Yes

And while recycle itself works in 3.0.5, testparm produces a lot of unnecessary output.
And you can't use swat any more to change options, it writes all that testparm garbage 
in smb.conf.
The last known good version is 3.0.2 to my knowledge. 3.0.4 is broken. don't know 
about 3.0.3
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Linux to windows printing

2004-07-28 Thread Jenny Li
I just installed the Linux Enterprise V3. I followed the instruction to add a printer 
(that is on Windows 2000 PC) Via add SMB printer on the server. But It's not working. 
Also, I can see the workgroup under SMB but when I click a host I got an error saying 
Host Unknow. I wonder what else that I have to do to add a SMB printer.

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


Re: [Samba] Samba+LDAP - so close yet so far :) ...STILL NOT SOLVED

2004-07-28 Thread abebe lsslp
Sohere I am with some more of my problem :( 
 
Sorry for the slow response to your last e-mails, I had to give up my xp machine and 
had to wait till I get a new one. We were also having trouble with our ISP (cox) for 
me to VPN from my home xp machine.
 
Back to the real deal... I have decided not to assume anything and to take it step by 
step :) Craig..I have followed your advice and I am using 'people' instead of 
'Computers'.
 
NOTE: 
- Have 'root= administrator' in /etc/samba/smbusers
- Have done the appropriate chages to the xp registery
 
[EMAIL PROTECTED] root]# smbldap-usershow administrator
dn: uid=Administrator,ou=Users,dc=wbcoll,dc=edu
cn: Administrator
sn: Administrator
objectClass: inetOrgPerson,sambaSAMAccount,posixAccount,shadowAccount
gidNumber: 512
uid: Administrator
uidNumber: 0
homeDirectory: /home/
sambaLogonTime: 0
sambaLogoffTime: 2147483647
sambaKickoffTime: 2147483647
sambaPwdCanChange: 0
sambaHomePath: \\EAGLEX\homes
sambaHomeDrive: H:
sambaPrimaryGroupSID: S-1-5-21-3864350619-1217412381-2490860374-512
sambaSID: S-1-5-21-3864350619-1217412381-2490860374-2996
loginShell: /bin/false
gecos: Netbios Domain Administrator
sambaAcctFlags: [U]
sambaPwdMustChange: 1098811932
sambaLMPassword: F70389E8F4B94063AAD3B435B51404EE
sambaPwdLastSet: 1091035932
sambaNTPassword: 60BED106E19D7A3F919FA1919125FFBA
userPassword: {SSHA}3zMR3Ds/5knGujxtByOIYPjl0mVBhJgr


 
ERROR: (having trouble joining XP (xptest) to domain).
The following error occured attempting to join the domain AGUILAS:
'Access is denied.'
 
And here is part of the error message in  'xptest.log': 
 
[2004/07/28 13:59:39, 3] auth/auth.c:check_ntlm_password(219) 
check_ntlm_password: Checking password for unmapped user [EMAIL PROTECTED] with the 
new password interface 
[2004/07/28 13:59:39, 3] auth/auth.c:check_ntlm_password(222) 
check_ntlm_password: mapped user is: [EMAIL PROTECTED] 
[2004/07/28 13:59:39, 3] smbd/sec_ctx.c:push_sec_ctx(256) 
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 
[2004/07/28 13:59:39, 3] smbd/uid.c:push_conn_ctx(364) 
push_conn_ctx(0) : conn_ctx_stack_ndx = 0 
[2004/07/28 13:59:39, 3] smbd/sec_ctx.c:set_sec_ctx(288) 
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 
[2004/07/28 13:59:39, 3] smbd/sec_ctx.c:pop_sec_ctx(386) 
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 
[2004/07/28 13:59:39, 3] auth/auth_sam.c:check_sam_security(202) 
check_sam_security: Couldn't find user 'root' in passdb file. 
[2004/07/28 13:59:39, 3] auth/auth_winbind.c:check_winbind_security(80) 
check_winbind_security: Not using winbind, requested domain [AGUILAS] was for this 
SAM. 
[2004/07/28 13:59:39, 2] auth/auth.c:check_ntlm_password(312) 
check_ntlm_password: Authentication for user [administrator] - [root] FAILED with 
error NT_STATUS_NO_SUCH_USER 
[2004/07/28 13:59:39, 3] smbd/sesssetup.c:do_map_to_guest(41) 
No such user administrator [AGUILAS] - using guest account

QUESTION:
1) Do I have to add 'smbpasswd -a root' or 'smbpasswd -a administrator'?
2) NT_STATUS_NO_SUCH_USER ? 'pdbedit -LV administrator' shows that the user exist
3) do 'root' and 'administrator' have to have the same password?

Ambex



 


-
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba+LDAP - so close yet so far :) ...STILL NOT SOLVED

2004-07-28 Thread Paul Gienger

NOTE: 
- Have 'root= administrator' in /etc/samba/smbusers
 

You don't need this since your UID is 0 for administrator below.  
Administrator IS root for these purposes the way you have things set.

- Have done the appropriate chages to the xp registery
 

Not needed under 3.0.x, assuming you are talking about the SignOrSeal patch.
logs snipped
QUESTION:
1) Do I have to add 'smbpasswd -a root' or 'smbpasswd -a administrator'?
 

Since you shouldn't have mapped root to Administrator, samba doesn't 
know anything about root, the only option left is 'smbpasswd -a 
Administrator'

2) NT_STATUS_NO_SUCH_USER ? 'pdbedit -LV administrator' shows that the user exist
 

Yes, but you told samba that Administrator = root, so it's probably 
looking for that.

3) do 'root' and 'administrator' have to have the same password?
 

Again, root is irrelevant.  They can be different as peas and pachyderms.
--
Paul Gienger Office: 701-281-1884
Applied Engineering Inc. 
Information Systems Consultant   Fax:701-281-1322
URL: www.ae-solutions.commailto: [EMAIL PROTECTED]

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


[Samba] libsmbclient programming

2004-07-28 Thread Makurin Roman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi All!

I try to create simple program in C. I`ve got in my $HOME/.smb/smb.conf
unix charset = KOI8-R
dos charset = 866
but my program ignore these params :-(. All message from my prog abot hosts 
and shares are in utf8, but I want it in koi8-r. How can I fix this ?
I use samba-3.0.5 on my gentoo box.

P.S.: Samba server works perfectly

Thanks in advance!
- -- 
Registered Linux User: 355904
ICQ: 105266647
JID: [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBCBCXufAZCWBpz4kRApHsAKDqdUQLTX+v91VEB23Wl8OcMY7dlQCfUS1Q
QOczEhNvoaqkesAZ3y00f1c=
=IcoH
-END PGP SIGNATURE-
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] ACL propogation

2004-07-28 Thread Spike Burkhardt
All,

  I have a share defined as such:

[sharename]
  path = /projects/tc
  valid users = @tc_users
  force group = tc_users
  writeable = Yes

everything works fine with this.  I have been asked to modify this
definition such that there will be a subdirectory /projects/tc/draco
where access to /projects/tc/draco is by users in the UNIX group
tc_draco.  Only users in this group can have write access.  This is on a
Solaris 8 system.  My question is this:  Short of having Solaris ACL's,
is there a way to do this in samba without defining a share for this one
directory?

Thanks for you help.


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

[Samba] Argh!!!! Winbind Stability!

2004-07-28 Thread Josh Skains
Ok... This is annoying. Winbind doesn't seem to be 100% stable. I am using 3.0.4 and 
Winbind is attached to a Windows 2003 server. I am cheating, using RPC rather than ADS.

So here is the issue. Generally everything works. I do a wbinfo -u and all comes back. 
I do a getent passwd and a good list comes back as well.

The problem is sometimes with individual users, I do a getent passwd jskains and it 
will come back blank. But then I do it again and it comes back with a good entry. 
Why This is so fustrating because other services are effected by this. For 
example, If I change permissions on a file with chown jskains file sometimes it will 
say invalid user and then sometimes it will work fine.

Also the same with SSHD. Sometimes I try to log in via SSH and it will tell me I have 
an invalid password. Other times it jumps in with no problem whatsoever.

Help!

smb.conf:

[global]
# LDAP Configuration
idmap backend = ldap:ldap://master.eng.deltad.com
ldap suffix = dc=softeng,dc=com
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=Manager,dc=softeng,dc=com
logfile = 2
workgroup = ENG
security = DOMAIN
password server = dc1.eng.deltad.com
map to guest = Bad User
wins server = 192.168.8.2
ldap ssl = no
winbind enum users = yes
winbind enum groups = yes
idmap uid = 1-2
idmap gid = 1-2
template homedir = /mhome/%U
template shell = /bin/bash
winbind use default domain = Yes
printer admin = @ntadmin, root, administrator
use sendfile = Yes
cups options = raw

# Exports
[homes]
comment = Home Directori[rcs]
path = /export/rcs
comment = RCS Controlled Sourcecode and Releases
writeable = yes

[software]
path = /export/software
writable = yes
comment = General Software
delete readonly = yes
create mode = 775
wide links = no
directory mode = 775

[backups]
comment = Backup Directory
path = /export/backups
read only = No

[common]
path = /export/common
comment = Common Configuration Files
writeable = yes

[docs]
path = /export/docs
writable = yes
comment = Documentation for Software Engineeringes
read only = No
browseable = No
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Argh!!!! Winbind Stability!

2004-07-28 Thread Josh Skains
Ok... This is annoying. Winbind doesn't seem to be 100% stable. I am using 3.0.4 and 
Winbind is attached to a Windows 2003 server. I am cheating, using RPC rather than ADS.

So here is the issue. Generally everything works. I do a wbinfo -u and all comes back. 
I do a getent passwd and a good list comes back as well.

The problem is sometimes with individual users, I do a getent passwd jskains and it 
will come back blank. But then I do it again and it comes back with a good entry. 
Why This is so fustrating because other services are effected by this. For 
example, If I change permissions on a file with chown jskains file sometimes it will 
say invalid user and then sometimes it will work fine.

Also the same with SSHD. Sometimes I try to log in via SSH and it will tell me I have 
an invalid password. Other times it jumps in with no problem whatsoever.

Help!

smb.conf:

[global]
# LDAP Configuration
idmap backend = ldap:ldap://master.eng.deltad.com
ldap suffix = dc=softeng,dc=com
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=Manager,dc=softeng,dc=com
logfile = 2
workgroup = ENG
security = DOMAIN
password server = dc1.eng.deltad.com
map to guest = Bad User
wins server = 192.168.8.2
ldap ssl = no
winbind enum users = yes
winbind enum groups = yes
idmap uid = 1-2
idmap gid = 1-2
template homedir = /mhome/%U
template shell = /bin/bash
winbind use default domain = Yes
printer admin = @ntadmin, root, administrator
use sendfile = Yes
cups options = raw

# Exports
[homes]
comment = Home Directori[rcs]
path = /export/rcs
comment = RCS Controlled Sourcecode and Releases
writeable = yes

[software]
path = /export/software
writable = yes
comment = General Software
delete readonly = yes
create mode = 775
wide links = no
directory mode = 775

[backups]
comment = Backup Directory
path = /export/backups
read only = No

[common]
path = /export/common
comment = Common Configuration Files
writeable = yes

[docs]
path = /export/docs
writable = yes
comment = Documentation for Software Engineeringes
read only = No
browseable = No
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Argh!!!! Winbind Stability!

2004-07-28 Thread Paul Gienger
Are you running nscd on your winbind host?  If so, try turning it off if 
you are and see if things improve.

OT:  Did you intentionally send to both [EMAIL PROTECTED] and 
[EMAIL PROTECTED]

Josh Skains wrote:
Ok... This is annoying. Winbind doesn't seem to be 100% stable. I am using 3.0.4 and 
Winbind is attached to a Windows 2003 server. I am cheating, using RPC rather than ADS.
So here is the issue. Generally everything works. I do a wbinfo -u and all comes back. 
I do a getent passwd and a good list comes back as well.
The problem is sometimes with individual users, I do a getent passwd jskains and it will come back 
blank. But then I do it again and it comes back with a good entry. Why This is so fustrating because 
other services are effected by this. For example, If I change permissions on a file with chown jskains 
file sometimes it will say invalid user and then sometimes it will work fine.
Also the same with SSHD. Sometimes I try to log in via SSH and it will tell me I have 
an invalid password. Other times it jumps in with no problem whatsoever.
Help!
smb.conf:
[global]
   # LDAP Configuration
   idmap backend = ldap:ldap://master.eng.deltad.com
   ldap suffix = dc=softeng,dc=com
   ldap idmap suffix = ou=Idmap
   ldap admin dn = cn=Manager,dc=softeng,dc=com
   logfile = 2
   workgroup = ENG
   security = DOMAIN
   password server = dc1.eng.deltad.com
   map to guest = Bad User
   wins server = 192.168.8.2
   ldap ssl = no
   winbind enum users = yes
   winbind enum groups = yes
   idmap uid = 1-2
   idmap gid = 1-2
   template homedir = /mhome/%U
   template shell = /bin/bash
   winbind use default domain = Yes
   printer admin = @ntadmin, root, administrator
   use sendfile = Yes
   cups options = raw
# Exports
[homes]
   comment = Home Directori[rcs]
   path = /export/rcs
   comment = RCS Controlled Sourcecode and Releases
   writeable = yes
[software]
   path = /export/software
   writable = yes
   comment = General Software
   delete readonly = yes
   create mode = 775
   wide links = no
   directory mode = 775
[backups]
   comment = Backup Directory
   path = /export/backups
   read only = No
[common]
   path = /export/common
   comment = Common Configuration Files
   writeable = yes
[docs]
   path = /export/docs
   writable = yes
   comment = Documentation for Software Engineeringes
   read only = No
   browseable = No
 

--
Paul Gienger Office: 701-281-1884
Applied Engineering Inc. 
Information Systems Consultant   Fax:701-281-1322
URL: www.ae-solutions.commailto: [EMAIL PROTECTED]

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


[Samba] Absent / out of office

2004-07-28 Thread Romain . Nies
Sorry, but I'm out of the office till 15 of august, I will contact you after my return 
a.s.a.p.
for urgent matters please contact Mr Romain Borrelbach at [EMAIL PROTECTED]
Best Regards
Romain Nies

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


RE: [Samba] Argh!!!! Winbind Stability!

2004-07-28 Thread Josh Skains
I actually made sure about the nscd already. There were a few articles mentioning that 
:). That is why this is so darn fustrating.

JMS

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Paul Gienger
Sent: Wednesday, July 28, 2004 2:14 PM
To: Josh Skains
Cc: [EMAIL PROTECTED]
Subject: Re: [Samba] Argh Winbind Stability!


Are you running nscd on your winbind host?  If so, try turning it off if 
you are and see if things improve.

OT:  Did you intentionally send to both [EMAIL PROTECTED] and 
[EMAIL PROTECTED]

Josh Skains wrote:

Ok... This is annoying. Winbind doesn't seem to be 100% stable. I am using 3.0.4 and 
Winbind is attached to a Windows 2003 server. I am cheating, using RPC rather than 
ADS.

So here is the issue. Generally everything works. I do a wbinfo -u and all comes 
back. I do a getent passwd and a good list comes back as well.

The problem is sometimes with individual users, I do a getent passwd jskains and it 
will come back blank. But then I do it again and it comes back with a good entry. 
Why This is so fustrating because other services are effected by this. 
For example, If I change permissions on a file with chown jskains file sometimes it 
will say invalid user and then sometimes it will work fine.

Also the same with SSHD. Sometimes I try to log in via SSH and it will tell me I have 
an invalid password. Other times it jumps in with no problem whatsoever.

Help!

smb.conf:

[global]
# LDAP Configuration
idmap backend = ldap:ldap://master.eng.deltad.com
ldap suffix = dc=softeng,dc=com
ldap idmap suffix = ou=Idmap
ldap admin dn = cn=Manager,dc=softeng,dc=com
logfile = 2
workgroup = ENG
security = DOMAIN
password server = dc1.eng.deltad.com
map to guest = Bad User
wins server = 192.168.8.2
ldap ssl = no
winbind enum users = yes
winbind enum groups = yes
idmap uid = 1-2
idmap gid = 1-2
template homedir = /mhome/%U
template shell = /bin/bash
winbind use default domain = Yes
printer admin = @ntadmin, root, administrator
use sendfile = Yes
cups options = raw

# Exports
[homes]
comment = Home Directori[rcs]
path = /export/rcs
comment = RCS Controlled Sourcecode and Releases
writeable = yes

[software]
path = /export/software
writable = yes
comment = General Software
delete readonly = yes
create mode = 775
wide links = no
directory mode = 775

[backups]
comment = Backup Directory
path = /export/backups
read only = No

[common]
path = /export/common
comment = Common Configuration Files
writeable = yes

[docs]
path = /export/docs
writable = yes
comment = Documentation for Software Engineeringes
read only = No
browseable = No
  


-- 
Paul Gienger Office: 701-281-1884
Applied Engineering Inc. 
Information Systems Consultant   Fax:701-281-1322
URL: www.ae-solutions.commailto: [EMAIL PROTECTED]


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


[Samba] Violation

2004-07-28 Thread RMBC-External-Email-Gateway
This notification has been generated by the RMBC External E-Mail Gateway.



Violation found in email message.



From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]


The file was deleted.


File(s): letter.scr

Matching filename: *.scr*


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


Re: [Samba] passdb requires /etc/passwd entry?

2004-07-28 Thread Jeremy Allison
On Tue, Jul 27, 2004 at 03:21:03PM -0700, Cal Heldenbrand wrote:
 Greetings everyone,
 
 I have a question about the smbpasswd encrypted
 database and /etc/passwd --  why does the passdb
 backend require an entry in /etc/passwd?  Is it
 possible to create samba encrypted users without a
 /etc/passwd entry?

Because Samba uses POSIX accounts to control ownership
and permissions on files.

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


[Samba] Samba 3 pgsql backend configuration

2004-07-28 Thread Rohit Nafday
Hi,

We've been trying to set up a Samba 3 installation using a Postgresql
backend with the passdb pgsql module.  We compiled our own version of
Samba 3.05 on Debian 3.0r1 after realizing the packages don't build the
experimental backends by default.  The Postgresql database is set up and
working, but when attempting to add a new user using pdbedit, we keep
getting this errors regarding No Identifier specified.  Looking through
the pgsql module source code, it looks like the location variable is not
set correctly.  Any help regarding how to get the pgsql backend working
correctly would be much appreciated.  I have enclosed the output from
running the pdbedit command below.

Thanks,

Rohit

swiss:/etc/samba# /tmp/samba-3.0.5/source/bin/pdbedit --backend=pgsql
--configfile=/etc/samba/smb.conf --list

doing parameter log file = /var/log/samba
doing parameter admin users = tc, tca
doing parameter encrypt passwords = yes
doing parameter password level = 4
doing parameter min passwd length = 6
doing parameter create mask = 0600
doing parameter hide dot files = Yes
doing parameter hide files = /.ini/
doing parameter obey pam restrictions = yes
doing parameter load printers = yes
doing parameter browseable = yes
doing parameter printing = cups
doing parameter printcap name = cups
pm_process() returned Yes
Failed to load @codepagedir@/upcase.dat - No such file or directory
Failed to load @codepagedir@/lowcase.dat - No such file or directory
creating lame upcase table
creating lame lowcase table
Failed to load @codepagedir@/valid.dat - No such file or directory
creating default valid table
No builtin backend found, trying to load plugin
Module '/usr/local/samba/lib/samba/pdb/pgsql.so' loaded
Connecting to database server, host: localhost, user: rescomp, password:
XX, database: cc, port: 5432
No identifier specified. Check the Samba HOWTO Collection for details
pdb backend pgsql did not correctly init (error was
NT_STATUS_INVALID_PARAMETER)
Loading pgsql failed!
Can't initialize passdb backend.

--
Rohit Nafday
Lead Programmer
Residential Computing
[EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Cannot login to PDC(FreeBSD boxen) from client(win XP)

2004-07-28 Thread Chris E
I'm finally getting somewhere in setting up my FreeBSD PDC. I try and 
login via my XP client and now it gives me this odd message. Cannot 
login because a duplicate user already exists on the network. Please 
goto control panel and system and change your computer name. Sorta 
paraphrased there, perhaps off by a word or two but that's pretty much 
what it tells me. I'm just using system users and smbpasswd for setting 
up users. Not sure what other info may be needed. The following is my 
smb.conf and my logs. I'm new to Samba and windows networking in general 
so go easy. =) Thanks in advance.

OS. FreeBSD 4.10R
Samba 3.05 installed via ports

*smb.conf*
[global]
  workgroup = XXX
  server string = FreeBSD File Server
  security = user
  encrypt passwords = yes
  preferred master = yes
  domain master = yes
  os level = 34
  local master = yes
  domain logons = yes
  unix password sync = yes
  passwd program = /usr/bin/passwd
  hosts allow = 192.168.1. 192.168.2. 127.
 
  #load printers = yes
  # you may wish to override the location of the printcap file
  ;   printcap name = /etc/printcap
  ;   printcap name = lpstat
  ;   printing = cups

  log file = /var/log/samba/log.%m
  max log size = 50
  passdb backend = smbpasswd
  #include = /usr/local/etc/smb.conf.%m
  socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8576
   SO_RCVBUF=8576
  logon script = %m.bat
  logon script = %U.bat
  logon path = \\%L\Profiles\%U
  wins support = yes
  dns proxy = no
  add user script = /usr/sbin/useradd %u
  add group script = /usr/sbin/groupadd %g
  add machine script = /usr/sbin/adduser -n -g machines -c Machine
   -d /dev/null -s /bin/false %u
  delete user script = /usr/sbin/userdel %u
  delete user from group script = /usr/sbin/deluser %u %g
  delete group script = /usr/sbin/groupdel %g

   # Share Definitions
   ==
   [homes]
  comment = Home Directories
  browseable = no
  writable = yes
[netlogon]
  comment = Network Logon Service
  path = /var/lib/samba/netlogon
  public = no
  writable = no
  browsable = no
   ;[Profiles]
   ;path = /usr/local/samba/profiles
   ;browseable = no
   ;guest ok = yes
   [printers]
  comment = All Printers
  path = /var/spool/samba
  browseable = no
   # Set public = yes to allow user 'guest account' to print
  guest ok = no
  writable = no
  printable = yes
   [tmp]
  comment = Temporary file space
  path = /tmp
  read only = no
  public = yes
   [public]
  comment = Public Stuff
  path = /home/samba
  public = no
  writable = yes
  printable = no
  write list = @staff
*log.192.168.1.xxx - log for XP client
*
{cut}
 getpeername failed. Error was Socket is not connected
 Connection denied from 0.0.0.0
[2004/07/28 15:31:35, 0] lib/util_sock.c:write_socket_data(413)
 write_socket_data: write failure. Error = Broken pipe
[2004/07/28 15:31:35, 0] lib/util_sock.c:write_socket(438)
 write_socket: Error writing 5 bytes to socket 5: ERRNO = Broken pipe
[2004/07/28 15:31:35, 0] lib/util_sock.c:send_smb(630)
 Error writing 5 bytes to client. -1. (Broken pipe)
[2004/07/28 16:43:34, 0] lib/util_sock.c:get_peer_addr(978)
 getpeername failed. Error was Socket is not connected
[2004/07/28 16:43:34, 0] lib/access.c:check_access(328)
[2004/07/28 16:43:34, 0] lib/util_sock.c:get_peer_addr(978)
 getpeername failed. Error was Socket is not connected
 Denied connection from  (0.0.0.0)
[2004/07/28 16:43:34, 1] smbd/process.c:process_smb(883)
[2004/07/28 16:43:34, 0] lib/util_sock.c:get_peer_addr(978)
 getpeername failed. Error was Socket is not connected
 Connection denied from 0.0.0.0
[2004/07/28 16:43:34, 0] lib/util_sock.c:write_socket_data(413)
 write_socket_data: write failure. Error = Broken pipe
[2004/07/28 16:43:34, 0] lib/util_sock.c:write_socket(438)
 write_socket: Error writing 5 bytes to socket 25: ERRNO = Broken pipe
[2004/07/28 16:43:34, 0] lib/util_sock.c:send_smb(630)
 Error writing 5 bytes to client. -1. (Broken pipe)
[2004/07/28 17:07:37, 0] lib/util_sock.c:get_peer_addr(978)
 getpeername failed. Error was Socket is not connected
[2004/07/28 17:07:37, 0] lib/access.c:check_access(328)
[2004/07/28 17:07:37, 0] lib/util_sock.c:get_peer_addr(978)
 getpeername failed. Error was Socket is not connected
 Denied connection from  (0.0.0.0)
[2004/07/28 17:07:37, 1] smbd/process.c:process_smb(883)
[2004/07/28 17:07:37, 0] lib/util_sock.c:get_peer_addr(978)
 getpeername failed. Error was Socket is not connected
 Connection denied from 0.0.0.0
[2004/07/28 17:07:37, 0] lib/util_sock.c:write_socket_data(413)
 write_socket_data: write failure. Error = Broken pipe
[2004/07/28 17:07:37, 0] lib/util_sock.c:write_socket(438)
 write_socket: Error writing 5 bytes to socket 25: ERRNO = Broken pipe

Re: [Samba] RE: XP Pro timeout; we have a winner - webclient service

2004-07-28 Thread Andrew Bartlett
On Thu, 2004-07-29 at 05:56, Lane Beneke wrote:
 Thanks to Jason Balicki for the correct fix to this problem.
 
 The 'webclient' service in Windows XP, somehow interferes with access to the
 Samba server.  With the service stopped and disabled, the clients are
 working again.

After some fun  games at my site, I'm looking at making this advise
more prominent.  

The other option is to make sure you *do not* run port 80 on that
server, or that Apache is running.

The worst possible situation is something that causes XP to have to
timeout, or a server that does not return 'please don't do that' in the
form the XP wants to the WebDAV requests.

(I had an open source project called 'belts' running there, which caused
mayhem).

Andrew Bartlett

-- 
Andrew Bartlett [EMAIL PROTECTED]
Authentication Developer, Samba Teamhttp://samba.org
Student Network Administrator, Hawker College   [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Re: [Samba] 3.0.4 on Solaris 8 - fcntl(F_SETLK64)

2004-07-28 Thread Jeremy Allison
On Wed, Jul 28, 2004 at 11:52:03AM -0500, Brian Ford wrote:
 We upgraded from 2.2.5 to 3.0.4 last week and ever since have been running
 into a deadlock condition that causes clients to hang for extended
 periods; all trying to get a write lock on locking.tdb.  I have been
 dilligently googling to find the solution and have thus far been
 unsuccessful.  My kernel rev is 108528-29, so I think I'm ok there.  Does
 anyone have any ideas?
 
 All I can think of is that I have a gcc install that I used to build samba
 from before the kernel patch and gcc fixed a crucial header that changed
 with the 108528-19 patch?
 
 I had to revert today to keep our users from killing me ;-).  Please let
 me know what technical info I can provide to track this down.  I'm pretty
 handy with gdb, truss, etc.  Thanks.

Can you put this back on a test server then start looking at the truss
output to see what it is waiting on. This does sound very much like the
problem with the thundering herd problem with solaris fcntl locks...

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


Re: [Samba] Re: String overflow in safe_strcpy - bug in documentation

2004-07-28 Thread Jeremy Allison
On Mon, Jul 26, 2004 at 10:21:09AM +0100, Carl Matthews wrote:
 Hi Jeremy,
 
 Ive been checking the svn for mangling fixes but didnt see any should i 
 just add it to bugzilla so it theres a record of it?

It's definately been fixed in the samba-docs svn tree.

Jeremy.
-- 
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.5 PANIC

2004-07-28 Thread Jacky Kim
Hi, all:

   I am using Samba 3.0.5 with patch at http://samba.org/~jerry/patches/post-3.0.4/.
But I found the follow messages in samba log:

  ===
[2004/07/29 01:01:57, 0] lib/util.c:smb_panic2(1398)
  PANIC: internal error
[2004/07/29 01:01:57, 0] lib/util.c:smb_panic2(1406)
  BACKTRACE: 3 stack frames:
   #0 smbd(smb_panic2+0xef) [0x8179111]
   #1 /lib/libc.so.6(abort+0x18b) [0x4016389b]
   #2 smbd(readdirname+0) [0x81791d1]
[2004/07/29 01:01:57, 0] tdb/tdbutil.c:tdb_log(725)
  tdb(/var/samba/ntforms.tdb): tdb_reopen: open failed (No such file or directory)
[2004/07/29 01:01:57, 0] smbd/server.c:open_sockets_smbd(419)
  tdb_reopen_all failed.
[2004/07/29 01:01:57, 0] lib/util.c:smb_panic2(1398)
  PANIC: tdb_reopen_all failed.
[2004/07/29 01:01:57, 0] lib/util.c:smb_panic2(1406)
  BACKTRACE: 1 stack frames:
   #0 smbd(smb_panic2+0xef) [0x8179111]
[2004/07/29 01:01:57, 0] lib/fault.c:fault_report(36)
  ===
[2004/07/29 01:01:57, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 6 in pid 4711 (3.0.5)
  Please read the appendix Bugs of the Samba HOWTO collection
[2004/07/29 01:01:57, 0] lib/fault.c:fault_report(39)
  ===   

Best Regards!

Jacky Kim
.


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


Re: [Samba] Samba+LDAP - so close yet so far :) ...STILL NOT SOLVED

2004-07-28 Thread Craig White
On Wed, 2004-07-28 at 13:11, abebe lsslp wrote:
 Sohere I am with some more of my problem :( 
  
 Sorry for the slow response to your last e-mails, I had to give up my xp machine and 
 had to wait till I get a new one. We were also having trouble with our ISP (cox) for 
 me to VPN from my home xp machine.
  
 Back to the real deal... I have decided not to assume anything and to take it step 
 by step :) Craig..I have followed your advice and I am using 'people' instead of 
 'Computers'.
  
 NOTE: 
 - Have 'root= administrator' in /etc/samba/smbusers
 - Have done the appropriate chages to the xp registery
  
 [EMAIL PROTECTED] root]# smbldap-usershow administrator
 dn: uid=Administrator,ou=Users,dc=wbcoll,dc=edu
 cn: Administrator
 sn: Administrator
 objectClass: inetOrgPerson,sambaSAMAccount,posixAccount,shadowAccount
 gidNumber: 512
 uid: Administrator
 uidNumber: 0
 homeDirectory: /home/
 sambaLogonTime: 0
 sambaLogoffTime: 2147483647
 sambaKickoffTime: 2147483647
 sambaPwdCanChange: 0
 sambaHomePath: \\EAGLEX\homes
 sambaHomeDrive: H:
 sambaPrimaryGroupSID: S-1-5-21-3864350619-1217412381-2490860374-512
 sambaSID: S-1-5-21-3864350619-1217412381-2490860374-2996
 loginShell: /bin/false
 gecos: Netbios Domain Administrator
 sambaAcctFlags: [U]
 sambaPwdMustChange: 1098811932
 sambaLMPassword: F70389E8F4B94063AAD3B435B51404EE
 sambaPwdLastSet: 1091035932
 sambaNTPassword: 60BED106E19D7A3F919FA1919125FFBA
 userPassword: {SSHA}3zMR3Ds/5knGujxtByOIYPjl0mVBhJgr
 
 
  
 ERROR: (having trouble joining XP (xptest) to domain).
 The following error occured attempting to join the domain AGUILAS:
 'Access is denied.'
  
 And here is part of the error message in  'xptest.log': 
  
 [2004/07/28 13:59:39, 3] auth/auth.c:check_ntlm_password(219) 
 check_ntlm_password: Checking password for unmapped user [EMAIL PROTECTED] with the 
 new password interface 
 [2004/07/28 13:59:39, 3] auth/auth.c:check_ntlm_password(222) 
 check_ntlm_password: mapped user is: [EMAIL PROTECTED] 
 [2004/07/28 13:59:39, 3] smbd/sec_ctx.c:push_sec_ctx(256) 
 push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 
 [2004/07/28 13:59:39, 3] smbd/uid.c:push_conn_ctx(364) 
 push_conn_ctx(0) : conn_ctx_stack_ndx = 0 
 [2004/07/28 13:59:39, 3] smbd/sec_ctx.c:set_sec_ctx(288) 
 setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 
 [2004/07/28 13:59:39, 3] smbd/sec_ctx.c:pop_sec_ctx(386) 
 pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 
 [2004/07/28 13:59:39, 3] auth/auth_sam.c:check_sam_security(202) 
 check_sam_security: Couldn't find user 'root' in passdb file. 
 [2004/07/28 13:59:39, 3] auth/auth_winbind.c:check_winbind_security(80) 
 check_winbind_security: Not using winbind, requested domain [AGUILAS] was for this 
 SAM. 
 [2004/07/28 13:59:39, 2] auth/auth.c:check_ntlm_password(312) 
 check_ntlm_password: Authentication for user [administrator] - [root] FAILED with 
 error NT_STATUS_NO_SUCH_USER 
 [2004/07/28 13:59:39, 3] smbd/sesssetup.c:do_map_to_guest(41) 
 No such user administrator [AGUILAS] - using guest account
 
 QUESTION:
 1) Do I have to add 'smbpasswd -a root' or 'smbpasswd -a administrator'?
 2) NT_STATUS_NO_SUCH_USER ? 'pdbedit -LV administrator' shows that the user exist
 3) do 'root' and 'administrator' have to have the same password?
 
---
You are very loose with your terminology...

the above smbldap_usershow has dn:
uid=Administrator,ou=Users,dc=wbcoll,dc=edu

but in your notes, you are putting machine accounts in what appears to
be ou=People and who the hell knows what your setup is any more in
smb.conf - ldap.conf at this point.

If you aren't putting the Computers in the same containers as the Users,
you are going to have to be do sub searches as has been covered many
times on this list for your exact problem. It seems that you just don't
want to get it. My advice was to be consistent - use one container for
Users and Computers, reference it the same way in both smb.conf and
ldap.conf - keep it simple. Thus, you really haven't been following my
advice, at least not without applying your own misunderstanding to it
first.

Craig

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


[Samba] Problems with Unix Permissions and ACLs

2004-07-28 Thread Adam Luchjenbroers
System is RHEL3 with Samba 3.0.0.

I have a share that is configured to be accessible only to a specific group
(Test Admin).

[delta]
comment = Testing
path = /var/test
valid users = @TEST/App - Test Admin
admin users = @TEST/App - Test Admin
writable = yes

Via the NT security dialog, file permissions are mapping fine but all
directories have empty ACLs (no permissions for any). File permissions in
question have been checked.

Despite this lack of permissions, directories can be entered and browsed,
however files cannot be created. In addition, no file may be written to,
though reading works fine.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Cannot login to PDC(FreeBSD boxen) from client(win XP)

2004-07-28 Thread Craig White
On Wed, 2004-07-28 at 11:08, Chris E wrote:
 I'm finally getting somewhere in setting up my FreeBSD PDC. I try and 
 login via my XP client and now it gives me this odd message. Cannot 
 login because a duplicate user already exists on the network. Please 
 goto control panel and system and change your computer name. Sorta 
 paraphrased there, perhaps off by a word or two but that's pretty much 
 what it tells me. I'm just using system users and smbpasswd for setting 
 up users. Not sure what other info may be needed. The following is my 
 smb.conf and my logs. I'm new to Samba and windows networking in general 
 so go easy. =) Thanks in advance.
---
basic network rule = each computer must have a different name. Windows
XP - Start - Settings - Control Panel - System

Computer Name (tab) - Change Name (pick something unique)

Craig

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


Re: [Samba] Problems with Unix Permissions and ACLs

2004-07-28 Thread Greg Folkert
On Wed, 2004-07-28 at 22:53, Adam Luchjenbroers wrote:
 System is RHEL3 with Samba 3.0.0.
 
 I have a share that is configured to be accessible only to a specific group
 (Test Admin).
 
 [delta]
 comment = Testing
 path = /var/test
 valid users = @TEST/App - Test Admin
 admin users = @TEST/App - Test Admin
 writable = yes

Do you have ACL support in the Kernel?
Are you using a filesystem that supports ACLs?
Have you enabled ACLs on the machine in global? You didn't in the share.
Do you have Winbind properly config'd?

 Via the NT security dialog, file permissions are mapping fine but all
 directories have empty ACLs (no permissions for any). File permissions in
 question have been checked.
 
 Despite this lack of permissions, directories can be entered and browsed,
 however files cannot be created. In addition, no file may be written to,
 though reading works fine.

guest access is probably what you are seeing.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster:  Linux


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

[Samba] Winbind and case sensitivity (revisited)

2004-07-28 Thread Tom Shaw
Hi

I've had a look through the archives and found this discussion on
winbind and case sensitivity:
http://lists.samba.org/archive/samba/2004-February/080321.html

The issue is that winbind will in some cases return a username
capitalized as per the NT database (ie when the user is looked up by
uid), and in other cases as per the way the user typed it (ie when the
user is looked up by username). This has cause problems for me in
integrating a Unix system into a Windows environment.

Has anyone done any work on making a patch like the one Andrew
Bartlett proposed?

Andrew Bartlett wrote:
 I would accept a patch that made samba 'forced' to lower
 case.  (It would lowercase all output, and force all input to be in
 lower case).

If nothing has been done yet, I'd be happy to have a go. The new
option to smb.conf would be:
winbind force case = lower/upper

How does that sound?

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


From UsaVity Customer Service Department Manager.

2004-07-28 Thread Liza
Dear CheapSoft Customer,

My name is Waldo Holmes, and I work at CheapSoft LLC.
You are important to me!  You spend your money and time on CheapSoft,
and I want to let you know that we have finished update our programs store.

I want to remind you that we are offering now more than 1500 popular
software for low price with your personal Customer's discount.

Please spend few moments of yours precious time to check our updated software
store: http://www.cracksoftcastle.com

With regards, 
Customer Service Department, Waldo Holmes
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


Samba WINS server oddities

2004-07-28 Thread Alder
Setup:
  Samba 2.2.8
  HP TCPIP 5.4
  OpenVMS Alpha 7.3
I run Samba on a 3-node peer-to-peer LAN (named 'EREBUS') and have it 
configured to act as the WINS server for my two Microsoft W2K nodes. 
Things work OK most of the time, but browsing from the Samba host has 
always seemed to be broken slightly.

One of the W2K nodes ('ISZKAZ') never seems to appear in the 
SAMBA_ROOT:[VAR.LOCKS]BROWSE.DAT file and its (double) entry in the 
SAMBA_ROOT:[VAR.LOCKS]WINS.DAT file is a bit mysterious:

$ type wins.dat
VERSION 1 155096
__MSBROWSE__#01 1091286380 255.255.255.255 e4R
EREBUS#00 1091323845 255.255.255.255 c4R
EREBUS#1e 1091323845 255.255.255.255 c4R
ISZKAZ#00 1091276888 192.168.0.2 64R
IS~ISZKAZ#00 1091364496 192.168.0.2 64R- 
KIRALY#00 1091286345 192.168.0.1 64R
KIRALY#20 1091286359 192.168.0.1 64R
SZEGED#00 1091323845 192.168.0.3 46R
SZEGED#03 1091323845 192.168.0.3 46R
SZEGED#20 1091323845 192.168.0.3 46R
Can anyone help me understand what is going on with Samba and the node 
'ISZKAZ'?  FWIW, browsing from the two W2K nodes (i.e., with NET VIEW 
and the GUI) appears normal.

Thanks.
Terry

PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:
http://www.catb.org/~esr/faqs/smart-questions.html


svn commit: samba r1596 - in branches/SAMBA_4_0/source: . include lib param

2004-07-28 Thread jmcd
Author: jmcd
Date: 2004-07-28 13:08:08 + (Wed, 28 Jul 2004)
New Revision: 1596

Modified:
   branches/SAMBA_4_0/source/dynconfig.c
   branches/SAMBA_4_0/source/include/dynconfig.h
   branches/SAMBA_4_0/source/lib/util.c
   branches/SAMBA_4_0/source/param/loadparm.c
Log:
Fix up copyrights.


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/branches/SAMBA_4_0/sourcerev=1596nolog=1


svn commit: samba r1597 - trunk/source/utils

2004-07-28 Thread tpot
Author: tpot
Date: 2004-07-28 16:05:11 + (Wed, 28 Jul 2004)
New Revision: 1597

Added:
   trunk/source/utils/ntlm_auth.h
Modified:
   trunk/source/utils/
Log:
Some fixes for ntlm_auth build:

  - Add utils/ntlm_auth.h from 3.0 branch

  - Ignore automatically generated file


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1597nolog=1


svn commit: samba r1598 - in trunk/source: . include lib libsmb utils

2004-07-28 Thread vlendec
Author: vlendec
Date: 2004-07-28 16:12:57 + (Wed, 28 Jul 2004)
New Revision: 1598

Added:
   trunk/source/include/smb_ldap.h
   trunk/source/lib/smb_ldap.c
Modified:
   trunk/source/Makefile.in
   trunk/source/include/asn_1.h
   trunk/source/include/includes.h
   trunk/source/lib/talloc.c
   trunk/source/libsmb/asn1.c
   trunk/source/utils/net_ads.c
Log:
This is an alternative approach to connect to LDAP servers. I had problems
understanding the OpenLDAP client libraries, so I tried to implement that
protocol myself. The central routines are ldap_encode and ldap_decode that
convert a struct ldap_message to a byte stream and vice versa. You are free to
deliver that to the LDAP server in any way you want, including non-blocking
network calls.

For an example how to use the API see utils/net_ads.c, routine
net_ads_test.c. This certainly does not belong there, but this is HEAD, isn't
it? ;-)

Volker

P.S: Not being able to figure out how to do async requests reliably with
OpenLDAP libs was my incentive to do this


WebSVN: 
http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/trunk/sourcerev=1598nolog=1


svn commit: samba r1599 - branches/SAMBA_3_0/source trunk/source

2004-07-28 Thread tpot
Author: tpot
Date: 2004-07-28 16:13:43 + (Wed, 28 Jul 2004)
New Revision: 1599

Modified:
   branches/SAMBA_3_0/source/configure.in
   trunk/source/configure.in
Log:
Use -Bsymbolic when creating shared libraries to avoid conflicts with 
identical symbols in the global namespace when loading libnss_wins.so.
Bugzilla #1360.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1599nolog=1


svn commit: samba r1600 - trunk/source/lib

2004-07-28 Thread jra
Author: jra
Date: 2004-07-28 23:54:06 + (Wed, 28 Jul 2004)
New Revision: 1600

Modified:
   trunk/source/lib/smb_ldap.c
Log:
Move to C comments from C++. Volker, some of these structure definitions
are still not defined in any header files.
Jeremy.


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1600nolog=1


svn commit: samba r1601 - trunk/source/lib

2004-07-28 Thread vlendec
Author: vlendec
Date: 2004-07-29 03:50:40 + (Thu, 29 Jul 2004)
New Revision: 1601

Modified:
   trunk/source/lib/smb_ldap.c
Log:
Correct the variable definitions I generated by emacs-macro.

Volker


WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=sambapath=/rev=1601nolog=1