search for: init_connection

Displaying 8 results from an estimated 8 matches for "init_connection".

2012 Jun 04
3
Using UTF8 under mysql in Centos6
Hi all, I am trying to configure utf8 in mysql under centos6 to display special characters, like accents. I use this mysql instance to store plain syslog logs. I have configured this under my.cnf: [mysqld] init_connect = 'SET collation_connection = utf8_general_ci' init_connect = 'SET NAMES utf8' character-set-server = utf8 collation-server = utf8_general_ci [client]
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
...Thinking about Smb_negox for example. I cannot just call structure->member > because I'll to translate all structure. > Working with pointer (IntPtr in c#) is much simpler. You can write a very simple C wrapper and call the wrapper from C#. So you would have: rpcwrapper.c: void* init_connection(const char *user, const char *pw) { // establish connection and return handle } const char* name_to_sid(void *con, const char *name) { // use con to resolve and return sid } const char* sid_to_name(void *con, const char *sid) { // use co...
2009 Oct 22
11
UFT8 String looks great in MySql, garbage in browser
Hi, I have some seed data in MySql which contains non-ASCII characters (as you''d imagine as these are worldwide placenames that I''m storing). In MySql on the command line they look great, they''re all formatted perfectly, including Arabic and Chinese characters and they look great. However, when I ask my Rails model for one of these fields, and render that in the
2020 Oct 12
0
Lookup sid with libsmbclient (invoked from c# on mono)
...> because I'll to translate all structure. > > > Working with pointer (IntPtr in c#) is much simpler. > > > > You can write a very simple C wrapper and call the wrapper from C#. > > > > So you would have: > > > > rpcwrapper.c: > > void* init_connection(const char *user, const char *pw) > > { > > // establish connection and return handle > > } > > > > const char* name_to_sid(void *con, const char *name) > > { > > // use con to resolve and return sid > > } > >...
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
Rowland penny via samba <samba at lists.samba.org> writes: > I have no idea just what you are hoping to achieve, but it is seemingly > possible without authentication as 'wbinfo -n ACCOUNT_NAME' returns the > accounts SID. So try looking at the wbinfo code. wbinfo is talking to winbind which itself is talking to the AD. In this scenario the client previously joined
2018 Mar 28
1
Winbind not working on Ubuntu 18.04 Samba 4.8.0 File Sever
...real(0, 0), class=winbind] ../source3/winbindd/winbindd_dual.c:1545(child_handler)   child daemon request 48 [2018/03/28 10:23:35.729657, 10, pid=700, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd_dual.c:665(child_process_request)   child_process_request: request fn INIT_CONNECTION [2018/03/28 10:23:35.729676,  3, pid=700, effective(0, 0), real(0, 0), class=winbind] ../source3/winbindd/winbindd_cm.c:2126(connection_ok)   connection_ok: Connection to (null) for domain TEST is not connected [2018/03/28 10:23:35.729883, 10, pid=700, effective(0, 0), real(0, 0), class=winbind]...
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
...> > Working with pointer (IntPtr in c#) is much simpler. >> >> >> >> You can write a very simple C wrapper and call the wrapper from C#. >> >> >> >> So you would have: >> >> >> >> rpcwrapper.c: >> >> void* init_connection(const char *user, const char *pw) >> >> { >> >> // establish connection and return handle >> >> } >> >> >> >> const char* name_to_sid(void *con, const char *name) >> >> { >> >> // use...
2008 Apr 23
0
winbindd hangs up while retreiving users
...S-1-5-21-565845737-2136282515-3787168119 Added domain SZROUTER S-1-5-21-2599794117-3340421651-2065939854 Added domain BUILTIN S-1-5-32 open_winbindd_socket: opened socket fd 10 open_winbindd_priv_socket: opened socket fd 12 run_events: No events child daemon request 41 process_request: request fn INIT_CONNECTION Connection to for domain DEP2 has NULL cli! Returning valid cache entry: key = SAF/DOMAIN/DEP2, value = 10.1.9.200, timeout = Wed Apr 23 16:20:10 2008 saf_fetch: Returning "10.1.9.200" for "DEP2" domain No nmbd found name_status_find: looking up DEP2#1c at 10.1.9.200 Cache entr...