[Samba] Does tdb can store incorrect enco ding symbols?

2010-01-12 Thread Сергей
Hello, All! I found that Samba checks description fields encoding at various tdb files to late. Case 1. FreeBSD with UTF-8 support. At some cases FreeBSD's adduser script can save incorrect UTF-8 sequence to GECOS /etc/passwd field. (Here is example

Re: [Samba] Does tdb can store incorrect enco ding symbols?

2010-01-12 Thread Сергей
Hello, Volker So, I have two questions: 1. How to select one-byte encoded descriptions? Does unix charset = KOI-8R help? No because of my filesystem is UTF-8 now. The root of problem is - tdb file stores multi-byte encoding text and one-byte encoded text. 2. How to convert it to

[Samba] [samba] User managing via USRMGR.EXE is impossble

2010-01-11 Thread Сергей
Hello, All! I have domain network. But user managing via USRMGR.EXE is impossble. When I run USRMGR.EXE I get a window: The tag is invalid. Do you want to select another domain to administer? At this time at Samba's log: [2010/01/11 14:12:07, 1] librpc/ndr/ndr.c:ndr_push_error(493)

[Samba] PDC don't lists domain groups for workstations

2010-01-04 Thread Сергей
Hello, All! Everytime when I ask my PDC about list of domain groups from XP SP3 workstation, I got empty list. Log is fixed this error: api_rpcTNP: samr: SAMR_QUERYDISPLAYINFO2 failed But net groupmap list shows group list: sudo net groupmap list 2-106

[Samba] smbstatus got error: messaging_td b_init failed: NT_STATUS_ACCESS_DENIED

2010-01-04 Thread Сергей
Hello, All! When I run smbstatus as usual user I got error: smbstatus ERROR: Failed to initialise messages database: Permission denied messaging_tdb_init failed: NT_STATUS_ACCESS_DENIED messaging_init failed ll /var/db/samba/messages.tdb -rw--- 1 root wheel 16384 4 янв 12:58

Re: [Samba] smbstatus got error: messaging_td b_init failed: NT_STATUS_ACCESS_DENIED

2010-01-04 Thread Сергей
Hello, Volker! This has already been fixed for 3.4. The attached patch should apply to 3.3. Thank you, now usual user can run smbstatus without problem. I will send PR to FreeBSD port. ATTACHMENT: text/x-diff (0001-s3-smbstatus-Fix-bug-6703-allow-smbstatus-as-non-r.patch) I have got

Re: [Samba] PDC directory permission fail

2010-01-04 Thread Сергей
Hello, Bino! I use webmin to do the samba PDC configuration IMHO, insuffisient [warehouse] comment = Files of warehouse writeable = yes path = /hdd2/samba/groupfiles/warehouse when I create that share via webmin i use option : a. mode : 775 b. Create user :