[Samba] public share problem

2004-01-26 Thread gnu_is_not_unix
Hi !

I have installed samba 3.0.1 as PDC with ldap backend - lets say 
DOM1. The problem is that users from DOM2 can't access public 
share on server - lets say server1, that is in DOM1. Ofcourse in 
smb.conf i have  in server config and in share 
part.

samba-log from server1:

[2004/01/26 17:07:30, 0, pid=17921, effective(0, 0), real(0, 0)] 
auth/auth_domain.c:domain_client_validate(189)
  domain_client_validate: unable to validate password for user 
gnu in domain DOM1 to Domain controller \\PDC. Error was 
NT_STATUS_WRONG_PASSWORD.

ps. sorry for my poor english :-/

greetz
gnu_is_not_unix


Jeśli chcesz wiedzieć co się stało z pewnym ciałem, 
zobacz doskonałą komedię pt. "CIAŁO". Najbardziej oczekiwana 
polska produkcja na VIDEO i DVD już w sklepach. 
http://klik.wp.pl/?adr=http%3A%2F%2Ffilm.wp.pl%2Fp%2Ffilm.html%3Fid%3D2174&sid=100


-- 
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.0 and LDAP problems

2003-10-02 Thread gnu_is_not_unix
Hi ! 

Theese logs i got on my domain member samba 3.0.0 server which is 
not connected to LDAP server - it use as password server a PDC 
and pam_ldap to have local accounts. It was compiled with ldapsam 
option but there is no LDAP options in smb.conf.

[2003/10/02 11:58:56, 2, pid=20340, effective(0, 0), real(0, 0)] 
lib/smbldap.c:smbldap_open_connection(623)
  smbldap_open_connection: connection opened
[2003/10/02 11:58:56, 0, pid=20340, effective(0, 0), real(0, 0)] 
lib/smbldap.c:fetch_ldap_pw(255)
  fetch_ldap_pw: neither ldap secret retrieved!
[2003/10/02 11:58:56, 0, pid=20340, effective(0, 0), real(0, 0)] 
lib/smbldap.c:smbldap_connect_system(739)
  ldap_connect_system: Failed to retrieve password from secrets.
tdb
[2003/10/02 11:58:56, 1, pid=20340, effective(0, 0), real(0, 0)] 
lib/smbldap.c:smbldap_retry_open(888)
  Connection to LDAP Server failed for the 1 try!
[2003/10/02 11:58:56, 0, pid=20340, effective(0, 0), real(0, 0)] 
passdb/pdb_ldap.c:ldapsam_search_one_group(1610)
  ldapsam_search_one_group: Problem during the LDAP search: LDAP 
error: (unknown) (Invalid credentials)lala2 (10.10.12.51) connect 
to service pub_it initially as user boka (uid=0, gid=1001) (pid 
20340)

greetz
gnu


XHTML - super nowoczesna technologia! Nowa era polskiego Internetu już w wp.pl!
Kliknij! - < http://www.wp.pl/wp/xhtml.html >



-- 
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.0 spec file problem - OT ?

2003-09-29 Thread gnu_is_not_unix
Hi !

I have tried to build rpm of samba-3.0.0 from spec file. *.spec 
file is from samba sources and contains only to modifcations 
to ./configure:
--with-expsam=mysql \
--with-ldapsam

This is error:

+ mkdir -p /var/tmp/samba-3.0.0-root/usr/bin /var/tmp/samba-
3.0.0-root/usr/sbin
+ mkdir -p /var/tmp/samba-3.0.0-
root/usr/share/swat/images /var/tmp/samba-3.0.0-
root/usr/share/swat/help /var/tmp/samba-3.0.0-
root/usr/share/swat/include /var/tmp/samba-3.0.0-
root/usr/share/swat/using_samba
+ mkdir -p /var/tmp/samba-3.0.0-
root/usr/share/swat/using_samba/figs /var/tmp/samba-3.0.0-
root/usr/share/swat/using_samba/gifs
+ mkdir -p
mkdir: too few arguments
Try `mkdir --help' for more information.
bĹÄ
d: Bad exit status from /var/tmp/rpm-tmp.90160 (%install)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.90160 (%install)

greetz
gnu










XHTML - super nowoczesna technologia! Nowa era polskiego Internetu już w wp.pl!
Kliknij! - < http://www.wp.pl/wp/xhtml.html >



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


[Samba] hide files problem

2003-03-28 Thread gnu_is_not_unix
Hi !




I want to hide files with names beginning with "." So I have 
added following lines to my smb.conf (2.2.8):




hide dot files = yes


hide files = /.*


veto files = /.*




When user changes options in folder options to show hide files 
and folders, he can see all files/folders beginning with "."




greetz


boka


--
Opłatom bankowym mówimy NIE! Załóż eKONTO w mBanku! < http://pasazfin.wp.pl/mbank.html 
>


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


[Samba] samba 2.2.7a/LDAP backend problem ... bug ?

2003-01-20 Thread gnu_is_not_unix
Hi !

Here is my story:
I have working config. with samba 2.2.7a (compiled from sources), openldap-2.0.23-4 
(rpms) on rh 7.3 (2.4.20 with ext3 patch). (First server is a LDAP server, second - 
PDC (samba with ldap), third - (samba joined to domain with ldap)).

The problem:
when i try to add user from domain to locaL nt/w2k group, in place where username 
should be displayed i have number with "\" before it. For ex: "\S-1-5-21-1.." 
- it looks like "winbind separator". I have disabled the winbind features in 
./configure (--disable-winbind), i have no options about winbind in my smb.conf.

No errors in samba-log.

greetz
boka

---
Wszystko, czego potrzebuje nowoczesna kobieta!
Diety, horoskopy, kosmetyczne nowości...
www.polki.pl - najlepszy serwis kobiecy!


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



[Samba] DOMAIN SID in samba ldap

2002-11-28 Thread gnu_is_not_unix
Hi !
 
Where the DOMAIN SID is stored when the LDAP backend is used ?
 
I got a lot of errors (C19b) when trying to log to samba domain from NT WRK. I 
have found in FAQs and archives that this problem appear when domain sid will change 
after registering nt wrk in the domain.
 
greetz
gnu_is_not_unix

---
Hackman i De Vito pokażą Ci, co znaczy prawdziwa miłość... do pieniędzy!
SKOK w kinach - od 29 listopada < http://film.wp.pl/p/film.html?id=1782 >


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



Re: [Samba] 2.2.6 problems

2002-10-25 Thread gnu_is_not_unix
> I think I solved the problem by using :
> logon script = li-%u.BAT

for me it is not a solution it is a workaround.
For example i have 500 users, each user has different login script, so
i have to change name of 500 files - i know i can do it with perl or
smth, but is this a bug in a code or my conf. ?

--
Best regards,
 gnu_is_not_unix   

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



Odp: Re: [Samba] 2.2.6 problems

2002-10-23 Thread gnu_is_not_unix
> You probably should post your smb.conf section that uses the %u variable.

passwd program = /usr/bin/passwd %u
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s/bin/false -M %u
logon script = %u.BAT

greetz
boka

---
Diety, horoskopy, kosmetyczne nowości... Wszystko, czego potrzebuje
nowoczesna kobieta! www.polki.wp.pl - serwis dostępny w portalu Wirtualna Polska


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



RE: [Samba] 2.2.6 problems

2002-10-23 Thread gnu_is_not_unix
> How long are your usernames actually?
> Does it also appear when you create a really short one?

the shortest contains 4 characters, the longest - 16.

greetz
boka

---
Diety, horoskopy, kosmetyczne nowości... Wszystko, czego potrzebuje
nowoczesna kobieta! www.polki.wp.pl - serwis dostępny w portalu Wirtualna Polska


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



[Samba] 2.2.6 problems

2002-10-22 Thread gnu_is_not_unix
Hi !

I have installed samba 2.2.6. 

And in my /var/log/messages i got:

Oct 22 16:04:11 beer smbd[27622]:   ERROR: string overflow by 1 in string_sub(%u, 7) 
Oct 22 16:04:11 beer smbd[27622]: [2002/10/22 16:04:11, 0] 
lib/util_str.c:string_sub(1217) 
Oct 22 16:04:11 beer smbd[27622]:   ERROR: string overflow by 1 in string_sub(%u, 7) 
Oct 22 16:04:11 beer smbd[27622]: [2002/10/22 16:04:11, 0] 
lib/util_str.c:string_sub(1217) 
Oct 22 16:04:11 beer smbd[27622]:   ERROR: string overflow by 1 in string_sub(%u, 7) 
Oct 22 16:04:11 beer smbd[27622]: [2002/10/22 16:04:11, 0] 
lib/util_str.c:string_sub(1217) 

I have compilled it from tar.gz, build it from samba.spec, rebuild from .src.rpm - 
same result

In my smb.conf i got %u and i thing this is the problem ...

my conf
rh 7.0 all erratas 
2.4.18

greetz
boka

---
Diety, horoskopy, kosmetyczne nowości... Wszystko, czego potrzebuje
nowoczesna kobieta! www.polki.wp.pl - serwis dostępny w portalu Wirtualna Polska


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