[Samba] PostPath

2006-06-01 Thread Leen Toelen

Hi,

I just stumbled upon the PostPath server, a protocol compatible
Exchange replacement, they are using samba extensively internally.
Users are managed in Active Directory, just like Exchange. Looks like
this one is going to beat openchange to the market.

http://www.postpath.com

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


[Samba] winbind authentication with domain offline

2005-10-14 Thread Leen Toelen
Hi,

this is actually more a pam question I believe, but I guess you'll
know enought about it to answer my question. I would like to enable
domain logins on some linux laptops, like I do on the desktops. This
works great when the domain is online, but when users are off site
login still has to work of course. Is there a way to enable winbind
login, but do a fallback on a cached password when the user is off
site?

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


[Samba] Building 3.0.20 for ubuntu

2005-09-23 Thread Leen Toelen
Hi,

I am trying to build samba 3.0.20 on an ubuntu amd64 machine.
Compiling works, but if I try to build the packages, I get this error:

...
include/proto.h:7483: warning: data definition has no type or storage class
include/proto.h:7484: error: syntax error before 'DIR'
include/proto.h:7485: error: syntax error before 'DIR'
include/proto.h:7486: error: syntax error before 'DIR'
include/proto.h:7487: error: syntax error before 'DIR'
include/proto.h:7490: error: syntax error before 'DIR'
include/proto.h:7514: warning: 'struct utimbuf' declared inside parameter list
In file included from dynconfig.c:21:
include/includes.h:1090: warning: conflicting types for built-in
function 'memmove'
include/includes.h:1114: error: 'ftruncate' redeclared as different
kind of symbol
include/vfs.h:259: error: previous declaration of 'ftruncate' was here
dynconfig.c:60: error: 'CODEPAGEDIR' undeclared here (not in a function)
make[1]: *** [dynconfig.o] Error 1
make[1]: Leaving directory `/home/user/samba/samba-3.0.20/source'
make: *** [build-stamp] Error 2

Has anyone seen this before?

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


[Samba] 3.0.20 crashes on startup

2005-08-29 Thread Leen Toelen
Hi,

after a problem last week with a kerberos security update from
microsoft and my samba version I updated samba to 3.0.20. On most
machines this works like a charm, but on one of them smbd crashes on
startup. This is whet comes up in the logfile.


[2005/08/29 13:35:45, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2005/08/29 13:35:45, 0] printing/print_cups.c:cups_cache_reload(85)
  Unable to connect to CUPS server localhost - Connection refused
[2005/08/29 13:35:45, 2] lib/interface.c:add_interface(81)
  added interface ip=10.10.1.4 bcast=10.10.255.255 nmask=255.255.0.0
[2005/08/29 13:35:45, 2] lib/tallocmsg.c:register_msg_pool_usage(56)
  Registered MSG_REQ_POOL_USAGE
[2005/08/29 13:35:45, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2005/08/29 13:35:45, 0] printing/nt_printing.c:upgrade_to_version_4(438)
  upgrade_to_version_4: upgrading printer security descriptors
[2005/08/29 13:35:45, 0] lib/fault.c:fault_report(36)
  ===
[2005/08/29 13:35:45, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 6871 (3.0.20-0.1-SUSE)
  Please read the appendix Bugs of the Samba HOWTO collection
[2005/08/29 13:35:45, 0] lib/fault.c:fault_report(39)
  ===
[2005/08/29 13:35:45, 0] lib/util.c:smb_panic2(1548)
  PANIC: internal error
[2005/08/29 13:35:45, 0] lib/util.c:smb_panic2(1556)
  BACKTRACE: 14 stack frames:
   #0 /usr/sbin/smbd(smb_panic2+0x1c5) [0x5b3671]
   #1 /usr/sbin/smbd(smb_panic+0xe) [0x5b34a7]
   #2 /usr/sbin/smbd [0x5a06f1]
   #3 /usr/sbin/smbd [0x5a074d]
   #4 /lib64/tls/libc.so.6 [0x2a96b7b380]
   #5 /usr/sbin/smbd(sec_desc_merge+0x45) [0x5cce1e]
   #6 /usr/sbin/smbd [0x5d442e]
   #7 /usr/sbin/smbd(tdb_traverse+0x115) [0x5c75a6]
   #8 /usr/sbin/smbd [0x5d4654]
   #9 /usr/sbin/smbd(nt_printing_init+0x3cd) [0x5d4cad]
   #10 /usr/sbin/smbd(print_backend_init+0x182) [0x5ce7eb]
   #11 /usr/sbin/smbd(main+0x536) [0x631ad7]
   #12 /lib64/tls/libc.so.6(__libc_start_main+0xfd) [0x2a96b69acd]
   #13 /usr/sbin/smbd(tcsetattr+0xaa) [0x44141a]

The problem is probably printing related, but I do not have any
printer shares enabled in my config.

Any ideas?

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


Re: [Samba] Samba clients fail after reboot

2005-08-26 Thread Leen Toelen
Hi,

I remove the security update from out w2k pdc, and rebooted it. After
I remove the linux client from the domain, do a  net join (which
succeeds), the linux client shows up again in the domain. wbinfo -u
gets an "Ertror looking up domain users" again.

Regards,
Leen

On 8/26/05, Leen Toelen <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> in the thread a solution is not mentioned. Did you roll back the
> update on the w2k box, or change the samba confi.
> 
> On a sidenote, is it better to use security = ads and configure
> kerberos, or still use security = domain and use the net rpc commands?
> 
> Regards,
> Leen
> 
> On 8/26/05, Kevin Wilson <[EMAIL PROTECTED]> wrote:
> > Please follow this thread:
> >
> > Subject = "[Samba] wbinfo can not convert User names and Group name to S ID"
> >
> > -Original Message-
> > From: Leen Toelen [mailto:[EMAIL PROTECTED]
> > Sent: Friday, August 26, 2005 12:14 PM
> > To: samba@lists.samba.org
> > Subject: [Samba] Samba clients fail after reboot
> >
> >
> > Hi all,
> >
> > since three weeks ago, whenever one of our Linux client gets rebooted,
> > it can't get access to a W2K domain anymore. Everything is working,
> > nothing is changed in the configs, the Linux machines are simply
> > rebooted. Does anyone know whether tehre is a security update or so on
> > w2K that causes this? Another strange thing is that once in a while
> > for an unknown reason loggin in to the linux box works again and 10
> > minutes later it stops without touching the box.
> >
> >
> > On the domain controller I get in the event viewer:
> > The session setup from the computer LNXSRV failed to authenticate. The
> > name of the account referenced in the security database is LNXSRV$.
> > The following error occurred:
> > Access is denied.
> >
> > On the linux side I get:
> >
> > # wbinfo --sequence
> > PEAK4S : 1
> > BUILTIN : 1
> > PEAKADILLY : DISCONNECTED
> >
> > # wbinfo -D PEAKADILLY
> > Name  : PEAKADILLY
> > Alt_Name  : PEAKADILLY.LOCAL
> > SID   : S-1-5-21-725345543-813497703-839522115
> > Active Directory  : Yes
> > Native: No
> > Primary   : Yes
> > Sequence  : -1
> >
> > # wbinfo -u
> > Error looking up domain users
> >
> > # wbinfo -g
> > BUILTIN\System Operators
> > BUILTIN\Replicators
> > BUILTIN\Guests
> > BUILTIN\Power Users
> > BUILTIN\Print Operators
> > BUILTIN\Administrators
> > BUILTIN\Account Operators
> > BUILTIN\Backup Operators
> > BUILTIN\Users
> >
> > Any idea anyone?
> >
> > Regards,
> > Leen Toelen
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/listinfo/samba
> >
>
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba clients fail after reboot

2005-08-26 Thread Leen Toelen
Hi,

in the thread a solution is not mentioned. Did you roll back the
update on the w2k box, or change the samba confi.

On a sidenote, is it better to use security = ads and configure
kerberos, or still use security = domain and use the net rpc commands?

Regards,
Leen

On 8/26/05, Kevin Wilson <[EMAIL PROTECTED]> wrote:
> Please follow this thread:
> 
> Subject = "[Samba] wbinfo can not convert User names and Group name to S ID"
> 
> -Original Message-
> From: Leen Toelen [mailto:[EMAIL PROTECTED]
> Sent: Friday, August 26, 2005 12:14 PM
> To: samba@lists.samba.org
> Subject: [Samba] Samba clients fail after reboot
> 
> 
> Hi all,
> 
> since three weeks ago, whenever one of our Linux client gets rebooted,
> it can't get access to a W2K domain anymore. Everything is working,
> nothing is changed in the configs, the Linux machines are simply
> rebooted. Does anyone know whether tehre is a security update or so on
> w2K that causes this? Another strange thing is that once in a while
> for an unknown reason loggin in to the linux box works again and 10
> minutes later it stops without touching the box.
> 
> 
> On the domain controller I get in the event viewer:
> The session setup from the computer LNXSRV failed to authenticate. The
> name of the account referenced in the security database is LNXSRV$.
> The following error occurred:
> Access is denied.
> 
> On the linux side I get:
> 
> # wbinfo --sequence
> PEAK4S : 1
> BUILTIN : 1
> PEAKADILLY : DISCONNECTED
> 
> # wbinfo -D PEAKADILLY
> Name  : PEAKADILLY
> Alt_Name  : PEAKADILLY.LOCAL
> SID   : S-1-5-21-725345543-813497703-839522115
> Active Directory  : Yes
> Native: No
> Primary   : Yes
> Sequence  : -1
> 
> # wbinfo -u
> Error looking up domain users
> 
> # wbinfo -g
> BUILTIN\System Operators
> BUILTIN\Replicators
> BUILTIN\Guests
> BUILTIN\Power Users
> BUILTIN\Print Operators
> BUILTIN\Administrators
> BUILTIN\Account Operators
> BUILTIN\Backup Operators
> BUILTIN\Users
> 
> Any idea anyone?
> 
> Regards,
> Leen Toelen
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Samba clients fail after reboot

2005-08-26 Thread Leen Toelen
Hi all,

since three weeks ago, whenever one of our Linux client gets rebooted,
it can't get access to a W2K domain anymore. Everything is working,
nothing is changed in the configs, the Linux machines are simply
rebooted. Does anyone know whether tehre is a security update or so on
w2K that causes this? Another strange thing is that once in a while
for an unknown reason loggin in to the linux box works again and 10
minutes later it stops without touching the box.


On the domain controller I get in the event viewer:
The session setup from the computer LNXSRV failed to authenticate. The
name of the account referenced in the security database is LNXSRV$. 
The following error occurred:
Access is denied.  

On the linux side I get:

# wbinfo --sequence
PEAK4S : 1
BUILTIN : 1
PEAKADILLY : DISCONNECTED

# wbinfo -D PEAKADILLY
Name  : PEAKADILLY
Alt_Name  : PEAKADILLY.LOCAL
SID   : S-1-5-21-725345543-813497703-839522115
Active Directory  : Yes
Native: No
Primary   : Yes
Sequence  : -1

# wbinfo -u
Error looking up domain users

# wbinfo -g
BUILTIN\System Operators
BUILTIN\Replicators
BUILTIN\Guests
BUILTIN\Power Users
BUILTIN\Print Operators
BUILTIN\Administrators
BUILTIN\Account Operators
BUILTIN\Backup Operators
BUILTIN\Users

Any idea anyone?

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


[Samba] Re: Error joining domain

2005-08-18 Thread Leen Toelen
Hi,

when I did net ads join -U administrator -I "*.*.*.*" 
I got the same error but after that wbinfo -u showed all users and
loggin in works.

However, browsing to the linux box from another machine I keep getting
the password dialog. In the logs I get;

[2005/08/18 17:04:42, 2] nsswitch/winbindd_util.c:add_trusted_domain(180)
  Added domain BUILTIN  S-1-5-32
[2005/08/18 17:04:42, 2] nsswitch/winbindd_util.c:add_trusted_domain(180)
  Added domain BIOINF  S-1-5-21-51082066-3239425611-1963012567
[2005/08/18 17:04:53, 2] nsswitch/winbindd_pam.c:winbindd_pam_auth_crap(642)
  NTLM CRAP authentication for user [MYDOMAIN]\[toelen] returned
NT_STATUS_ACCESS_DENIED (PAM: 4)
[2005/08/18 17:04:53, 2] nsswitch/winbindd_pam.c:winbindd_pam_auth_crap(642)
  NTLM CRAP authentication for user [MYDOMAIN]\[toelen] returned
NT_STATUS_ACCESS_DENIED (PAM: 4)
[2005/08/18 17:04:53, 2] nsswitch/winbindd_pam.c:winbindd_pam_auth_crap(642)

Anyone an idea?

Regards,
Leen Toelen


On 8/18/05, Leen Toelen <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I have run a Linux machine as a windows domain client for a while. One
> time the windows 2000 domain server went down while the linux box kept
> running. Since then I am unable to login using winbind. I tried
> re-adding the linux machine without any success, I constantly get
> errors like this:
> 
> #net join -U administrator
> administrator's password:
> [2005/08/18 16:48:52, 0] libads/kerberos.c:ads_kinit_password(147)
>   kerberos_kinit_password [EMAIL PROTECTED] failed:
> Cannot contact any KDC for requested realm
> [2005/08/18 16:48:52, 0] utils/net_ads.c:ads_startup(186)
>   ads_connect: Cannot contact any KDC for requested realm
> Joined domain MYDOMAIN.
> 
> The command runs without any progress for a minute or so and then
> gives the error message. Yet logging it still does not work.
> 
> If I do
> #net rpc join -U administrator
> I instantly get 'Joined domain MYDOMAIN.' but it still does not work.
> 
> I have put the domain controller in /etc/hosts and can ping it without
> problems. smbclient -L //mycontroller also runs fine after
> authenticating.
> 
> Anyone knows what might be causing this problem?
> 
> Regards,
> Leen Toelen
>
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Error joining domain

2005-08-18 Thread Leen Toelen
Hi,

I have run a Linux machine as a windows domain client for a while. One
time the windows 2000 domain server went down while the linux box kept
running. Since then I am unable to login using winbind. I tried
re-adding the linux machine without any success, I constantly get
errors like this:

#net join -U administrator
administrator's password:
[2005/08/18 16:48:52, 0] libads/kerberos.c:ads_kinit_password(147)
  kerberos_kinit_password [EMAIL PROTECTED] failed:
Cannot contact any KDC for requested realm
[2005/08/18 16:48:52, 0] utils/net_ads.c:ads_startup(186)
  ads_connect: Cannot contact any KDC for requested realm
Joined domain MYDOMAIN.

The command runs without any progress for a minute or so and then
gives the error message. Yet logging it still does not work.

If I do
#net rpc join -U administrator
I instantly get 'Joined domain MYDOMAIN.' but it still does not work.

I have put the domain controller in /etc/hosts and can ping it without
problems. smbclient -L //mycontroller also runs fine after
authenticating.

Anyone knows what might be causing this problem?

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